[mapguide-users] Adjusting subsequent views
gingerbbm
stuart.jones at jacobs.com
Fri Sep 5 09:54:13 EDT 2008
OK, I understand that I can grab the runtime map and use the API to alter it.
The question is, where do I put the code to do this? For the Ajax viewer
I've traced the code to JavaScript in ajaxmappane.templ, where functions
like Pan() end up calling RequestMap(). But RequestMap() posts to
mapagent.fcgi - in other words an impasse.
My current idea is to put a synchronous call to a bespoke PHP during the
relevant JavaScript functions (such as Pan()) which will alter the runtime
map. When control returns to the JavaScript, RequestMap() will ultimately be
called and thus display my altered map.
Do this sound feasible? :confused:
--
View this message in context: http://n2.nabble.com/RE%3A-Bypassing-initial-view-at-startup-tp790257p841215.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list