[mapguide-users] Handle Click Event On Map

sukalyan chakraborty chakraborty.sarkar at gmail.com
Tue Aug 29 06:11:56 EDT 2006


thanks a lot Maciej

Please tell me where .. in which file i will place the function

in mainframe.aspx or in another place .. ?


On 8/29/06, Maciej Skorczewski <maciej.skorczewski at procad.pl> wrote:
>
> hi
>
> just use javascript handle
>
> ex:
>
> function watchInitialized ()
> {
> try {
>        if(ViewerFrame.mapFrame.mapInit)
>                 {
>                 clearInterval(initTimer);
>             originalOnSelectionChanged = ViewerFrame.OnSelectionChanged;
>          ViewerFrame.OnSelectionChanged = show_file;
>             }
>      }
>    catch(Exception) {}
> }
>
>
> show_file is a js function ,you can write what script should do.
>
> maciek.
>
>
> sukalyan chakraborty napisał(a):
> > i want to use my own code on map frame click event means when user click
> > on map.
> > Now in the map pane or in the main.tmpl or map.tmpl where i will write
> > can you specify the position.
> > i've already writen the code in onmapclick event in map.tmpl but it is
> > not working.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
> For additional commands, e-mail: users-help at mapguide.osgeo.org
>
>


-- 
Thanks A Lot
Have A Nice Time
Have Fun
Be Jolly
Sukalyan Chakraborty
[Software Developer]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20060829/a440e79c/attachment.html


More information about the Mapguide-users mailing list