[mapguide-users] [ZS0] marker on click function
Jackie Ng
jackie.ng at aecsystems.com.au
Thu Mar 6 23:14:30 EST 2008
Try this:
http://trac.osgeo.org/mapguide/wiki/CodeSamples/JavaScript/AJAXViewerEventHooking
- Jackie
Kencana wrote:
>
> Hi Kenneth,
>
> Thanks for the reply. Can you explain further on how to add a selection
> handler, detect the selection and zoom. Any sample for that?
>
> Regards,
> Kencana
>
>
> Kenneth, GEOGRAF A/S wrote:
>>
>> You can do this in a number of ways:
>>
>> 1. Add a link to the feature, that activates a script and zooms
>> 2. Add a selection handler, detect the selection and zoom
>> 3. Add a MouseDown handler and do some queries to find the selected item
>> (if any).
>>
>> Regards, Kenneth, GEOGRAF A/S
>>
>>
>>
>> Kencana skrev:
>>> Hi,
>>>
>>> I have created a marker on the fly, and what i want to do is to allow
>>> user
>>> to click on the marker and zoom in to that particular location. is that
>>> possible to do that?
>>>
>>> Thank you
>>>
>>> Regards,
>>> Kencana Kesuma
>>>
>> _______________________________________________
>> mapguide-users mailing list
>> mapguide-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>
>>
>
>
--
View this message in context: http://www.nabble.com/marker-on-click-function-tp15865184s16610p15889560.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list