google-static-maps

Rendering polygon with Google Static Maps API URL

与世无争的帅哥 提交于 2019-12-21 05:01:01
问题 I created a script to store dynamic map inputs by appending attributes to a Static Maps URL (so we can refer back to it after a user submits). For reasons I can't yet determine, the Polygon is not rendering at all with the basic static maps URL, but it works with a 3rd party site's static maps function. According to Static Maps API examples there should be no issue, but I can't seem to recreate the Polygon. Working version (with same attributes in URL, though it ignores Satellite and zoom

Google static maps get satellite view with tilt

寵の児 提交于 2019-12-19 04:09:29
问题 Didn't see anything in documentation so I figured I'd ask here: For capturing image via google static maps api, is there any way to get views that have tilt? Doesn't seem to be any documentation on how to query for this. Thanks. 回答1: I've done a small example that could help you. It uses html2canvas.js and jquery.js I forked also what @mfirdaus did in another answer <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Capture map</title> <style> html, body { height: 100%; margin: 0;

Google directions api overview polyline not working

微笑、不失礼 提交于 2019-12-18 09:38:14
问题 I'm trying to show a path from the google maps directions api on a google maps static map. The url for the directions api call looks like this: https://maps.googleapis.com/maps/api/directions/json?origin=lübeck&destination=hamburg&key=MY_API_KEY I get a valid json response containing all the informations. I then want to show the encoded polyline for the path overview on a static map with this api call: https://maps.googleapis.com/maps/api/staticmap?sensor=false&size=860x600&path=enc:THE

google maps static map polyline passing through lakes, river, mountains

青春壹個敷衍的年華 提交于 2019-12-17 21:37:09
问题 My program uses google maps directions for web Services to find a route between two points. The result is parsed and stored in variable. This variable is then used to compose google static map URL. The parse and the URL are working correctly. The problem is that the drawn "route" passes through a lake and mountains. { String GPS = "-22.978823,-43.233249"; String link = MAPS_BASE_URL + "center=brazil," + GPS + "&markers=color:blue|brazil," + GPS + "&path=color:0xff0000ff" + "%s" + "&zoom=13

Google static maps with directions

跟風遠走 提交于 2019-12-17 10:41:02
问题 I have in my project list of generated places with mini maps. There should be 2 points on the map and colored road direction between this two points. it should looks somehow like this: This should be static image, because there will be many such pictures with different directions on the page. But as I see, Google Static map didn't allow to draw such image. There can be only direct line between two points, like this: But I need direction on it... I decided to use static map, because in my web

Is it possible to remove Google logo?

淺唱寂寞╮ 提交于 2019-12-14 03:34:45
问题 Is it possible to remove Google Logo placed at the bottom left of the image after been generated using Google Static Maps . I've read Google docs but there are no references to this issue?. 回答1: This is prohibited by Terms of Service. You cannot remove logo and any attribution. You can find this information in paragraph 10.5 (g) of Terms of Service No removing, obscuring, or altering terms of service, links, or proprietary rights notices. You will not: remove, obscure, or alter any Google

Exceeded usage limits for Geocoding API

浪尽此生 提交于 2019-12-14 00:18:54
问题 When accessing the below link: http://maps.googleapis.com/maps/api/geocode/json I get the response: { "error_message" : "You have exceeded your daily request quota for this API.", "results" : [], "status" : "OVER_QUERY_LIMIT" } There are only two APIs listed in the Google Developers Console - both report they are under their usage limits. Is the geocode service included in either of these and if not is there a way to check the useage or pay to upgrade? Maps API v3 # of requests Daily quota:

Google static maps via iPhone connected to AT&T wireless network not working [closed]

不羁的心 提交于 2019-12-13 14:56:26
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 7 years ago . Recently I've been having issues retrieving static maps on my iPhone when connected to the AT&T wireless network. But, when I connect to a local WiFi is works fine. For several hours last Sunday is stopped working and then it started to work for the rest of the evening, then today I see that it has stopped

Can you draw a google static map to a canvas after you download it?

核能气质少年 提交于 2019-12-13 10:39:39
问题 I am using the following class to download a specific map and i'd like to draw it to a canvas with other bitmaps but when I do it only the map doesn't show up. I know the map is downloading, do I have to make it mutable, i'm not completely sure what's going on here. class TheTask extends AsyncTask<Void,Void,Void> { File mediaFile = new File(MenuScreen.mediaStorageDir.getPath() + File.separator + "IMG_"+ MenuScreen.timeStamp + ".png"); File mediaFile1 = new File(MenuScreen.mediaStorageDir

Convert Google map with huge amount of data to a static using Google Static Maps

六月ゝ 毕业季﹏ 提交于 2019-12-13 07:23:05
问题 I need to convert a map built with Google Maps to a static map. The problem is that map has an amount of data (mainly circles), and its representation has to be doing a path description of its circunference, and I need some kind of accurate, a pure circle has to be displayed in the static mode, so each circle description is about 500 chars (encoded). The Google Static Maps url limit is 8192 and its not enough for rendering those shapes. There is another way for doing it? I also tried to use