How to setup multiple begin latitude, longitude and zoom? For example, passing them as parms within the URL
The idea is to setup links for different initial maps, for example, Madrid, London, etc
Thanks
Gustavo
How to setup multiple begin latitude, longitude and zoom? For example, passing them as parms within the URL
The idea is to setup links for different initial maps, for example, Madrid, London, etc
Thanks
Gustavo
Comments
Comment #1
phayes commentedYou have several options...
If you are using the latest unstable version of geobrowser you can create multiple maps each with a different start location. When in fullscreen mode you can also pass lat, lon, and zoom parameters.. Create a map, hit the "full screen" button, and check out the URL - you will see some start_lat, start_lon, and start_zoom parameters that can be modified
Cheers,
Patrick
Comment #2
adminfor@inforo.com.ar commentedThanks! Works great
quick examples:
http://masmapas.com/mapa/mapa-de-buenos-aires
http://masmapas.com/mapa/mapa-de-madrid
Going to close
Gustavo
Comment #3
adminfor@inforo.com.ar commentedIs there any need to filter these parms against code injections?
Comment #4
phayes commentedI usually have code injection in mind as I code, feel free to look at the code to double-check
P
Comment #5
phayes commentedRight - these params are not ever passed via SQL. They are simply callbacks to the javascript. So a user could modify them to change their own personal lat/lon on the client side but could never change anythign on the server
P