Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

google maps: use directly on google server?

Tags:

google-maps

Usually u have to set up a little script + htmlpage on your server to run google maps, but i was wondering - is it possible to use google maps directly? i mean by just calling an url with parameters (gpoint coordinates, zoomfactor ..) and it loads the map fullscreen without having to use my own server?

like image 889
Fuxi Avatar asked Jul 07 '10 11:07

Fuxi


2 Answers

Sounds like you might be after the static maps api. You can build a URL specifying the properties of the map like:

  • zoom
  • position
  • markers (including custom markers)
  • image size
  • etc

and you will get back a rendered image of the map. Something like:

alt text

Obviously this just gives you a fixed image of the map you are after. If you need a dynamic Google map, then you will need to use the Google Maps Javascript API.

like image 167
RedBlueThing Avatar answered Nov 06 '22 03:11

RedBlueThing


Not hosted by Google. You might find some other website that uses the API to do the same thing.

like image 38
David Radcliffe Avatar answered Nov 06 '22 05:11

David Radcliffe