Re: [Google Maps API v2] Staticmap with active options
On May 4, 2011, at 2:57 AM, Andrew Leach wrote:
> On 3 May 2011 23:57, Donavon Lerman <studio.iqaat@gmail.com> wrote:
>>
>> How do I get the following URL to display with all of the options that are
>> on a regular google map; zoom, pan, map, satellite, hybrid, etc, etc.. (i've
>> called those active options but I'm sure they have a specific name)
>
> Static maps are static. They don't do anything dynamic, so none of
> those things are applicable.
With a bit of programming you can add those controls to static map. Demo page below does not use any JavaScript (except Google Analytics but that is not related to the map itself).
http://www.appelsiini.net/projects/php_google_maps/controls.html
I have not updated the Google_Maps PHP class for a while since I have moved mostly to Ruby land. But if someone is interested source code is in GitHub:
https://github.com/tuupola/php_google_maps
--
Mika Tuupola
http://www.appelsiini.net/
--
You received this message because you are subscribed to the Google Groups "Google Maps API V2" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home