Originally posted by MNB
View Post
eg. (and don't forget to add your api key)
https://maps.googleapis.com/maps/api...aptype=roadmap &markers=color:blue%7Clabel:S%7C40.702147,-74.015794&markers=color:green%7Clabel:G%7C40.711614,-74.012318 &markers=color:red%7Clabel:C%7C40.718217,-73.998284 &key=YOUR_API_KEY You should see a a map of NY with a few markers, if that works your google account must be good.
Try just running the immediate script one liner with you specifying the full path to the map you want to download, something like this (not tested):
&hs.GetURLImage("https://maps.googleapis.com","/maps/api/staticmap?center=Brooklyn+Bridge,New+York,NY&zoom=13&size=60 0x300&maptype=roadmap&markers=color:blue%7Clabel:S%7C40.7021 47,-74.015794&markers=color:green%7Clabel:G%7C40.711614,-74.012318 &markers=color:red%7Clabel:C%7C40.718217,-73.998284 &key=YOUR_API_KEY", TRUE, 443, "/html/PHLocation2/Maps/Scripted-test.png")
Comment