[ka-Map-users] overlay image onmouseover
Stéphane RIFF
stephane.riff at cerene.fr
Fri May 19 11:37:04 EDT 2006
That's what i thought but it didn't seems to catch the event, it's like
that theInsideLayer
stop the propagation of mouse events (don't know why) ??
Thanks for answer, I still searching why it doesn't work.
Steff
Paul Spencer wrote:
> Steff,
>
> you can just add those to the image you pass to addObjectGeo ... just
> standard js event handling should work
>
> var img = document.createElement('img');
> img.src = 'images/marker.png';
> img.onclick = myclick;
> img.onmouseover = mymouseover;
> img.onmouseout = mymouseout;
> myKaMap.addObjectGeo(canvas,x,y,img);
>
> Cheers
>
> Paul
>
> On 19-May-06, at 10:39 AM, Stéphane RIFF wrote:
>
>> Hi,
>>
>> I' ve added some overlay image in ka-map cvs with the addObjectGeo
>> function.
>> Now I'd like to handle the onmouseover/onmouseout on those images,
>> how can I achieve this ?
>>
>> Thanks,
>> Steff
>> _______________________________________________
>> ka-Map-users mailing list
>> ka-Map-users at lists.maptools.org
>> http://lists.maptools.org/mailman/listinfo/ka-map-users
>
>
> +-----------------------------------------------------------------+
> |Paul Spencer pspencer at dmsolutions.ca |
> +-----------------------------------------------------------------+
> |Applications & Software Development |
> |DM Solutions Group Inc http://www.dmsolutions.ca/|
> +-----------------------------------------------------------------+
>
>
>
>
>
More information about the ka-Map-users
mailing list