[mapguide-users] Re: Viewer API GetLayer() and base layers

Tom Chadwin tom.chadwin at nnpa.org.uk
Wed Apr 21 06:31:21 EDT 2010

Thanks for that information, Praveen, but I cannot get it to hook onto the
right event properly, and I'm beyond the limit of my Javascript knowledge
here. ajaxmappane.templ has the function RequestMap() which was where I
placed my code, and which worked. However, I can see no corresponding
OnRequestMap onto which I could hook my function. RequestMap always seems to
be called directly, rather than being assigned as a variable, so I cannot
copy it and append my function. Or I might be totally misunderstanding how
this all works.

Can anyone else tell me if there is a way to hook my own function onto the
RequestMap() function without hacking the original function itself?


View this message in context: http://n2.nabble.com/Viewer-API-GetLayer-and-base-layers-tp4792901p4936176.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

More information about the mapguide-users mailing list