google-maps-api-3

Google Maps API doesn't give me back neighborhood anymore

笑着哭i 提交于 2019-12-24 08:49:32
问题 Today, December 14th, I query Google Maps API ( https://maps.googleapis.com/maps/api/geocode/json ) with many addresses, I get everything, like sublocality or locality address components, but nothing for neighborhood location type, out of 20 queries. The following is an example of the first result I get when I query this address: 694 rue Saint-Vallier O, Québec (Québec) G1N1C8 . {:address-components ({:long-name "694", :short-name "694", :types ("street_number")} {:long-name "Rue Saint

Maps direction Quota limits

可紊 提交于 2019-12-24 08:42:46
问题 Hi i have written a google script that takes out the distance for the specific start point and endpoint. I have read a lot of articles online but they don't include the limits for google map script. I want to know for how many number of start points and end points (how many calls) will i be able to take out using a normal gmail and a business gmail id. EDIT: I'm using Maps.newDirectionFinder().getDirections(); 回答1: https://developers.google.com/maps/documentation/directions/#Limits Usage

Maps direction Quota limits

戏子无情 提交于 2019-12-24 08:42:43
问题 Hi i have written a google script that takes out the distance for the specific start point and endpoint. I have read a lot of articles online but they don't include the limits for google map script. I want to know for how many number of start points and end points (how many calls) will i be able to take out using a normal gmail and a business gmail id. EDIT: I'm using Maps.newDirectionFinder().getDirections(); 回答1: https://developers.google.com/maps/documentation/directions/#Limits Usage

Google Map radius corner

只愿长相守 提交于 2019-12-24 08:42:33
问题 The webkit-mask-image mask moves when you scrolling the page jsFiddle Sample body{ height:1500px; } #wrapper { margin-top:250px; width: 300px; height: 300px; border-radius: 100px; overflow: hidden; position: absolute; /* this breaks the overflow:hidden in Chrome/Opera */ -webkit-mask-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAA5JREFUeNpiYGBgAAgwAAAEAAGbA+oJAAAAAElFTkSuQmCC); /* this fixes the overflow

Google maps API v3 - Marker disappears after setPosition [duplicate]

旧城冷巷雨未停 提交于 2019-12-24 08:17:36
问题 This question already has an answer here : google maps move marker with lat/lng from ajax success returned data (1 answer) Closed 5 years ago . I'm having a problem with the maps markers. The map and marker load fine on the inital pageload. But when I try to update the marker location it simply disappears. The Alert window gives the correct coördinates. What am I doing wrong here? Code: <script> var myCenter=new google.maps.LatLng(<?php echo $loc; ?>); function initialize() { var mapProp = {

Draw an eliptical line on a coordinate system based on focla points?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-24 08:13:47
问题 I'm trying to draw a dashed line on a google map, so I can't use eshape.js. I need to create an array of points that approximate an elipse in a coordinate system. It's just for display so it doesn't have to be that precise. If someone can just explain the math that's fine. Extra credit if you apply it in javascript ;) 回答1: This is now something you can do within the Google Maps API. Recently, Google added Symbols to Polylines, allowing you to use SVG to style your lines: https://developers

Issue in integrating GoogleMaps in React App

戏子无情 提交于 2019-12-24 08:09:10
问题 I am trying to integrate googlemaps in my React App.But it returns the following error in javascript console. The javascript console returns the following error while trying to integrate Google Maps.How can I resolve that issue? [Violation] Added non-passive event listener to a scroll-blocking 'wheel' event. Consider marking event handler as 'passive' to make the page more responsive. js?key=APIKEY:99 [Violation] Added non-passive event listener to a scroll-blocking 'mousewheel' event.

Google maps shows up grey in hidden div

懵懂的女人 提交于 2019-12-24 08:01:06
问题 I have read the many threads on stack about this issue, but nothing will resolve my problem. I have the google map on a tab that is initially hidden when the page loads and would like some assistance please. Here is the full code: <script type="text/javascript"> function loadsinglemap(){ var mymap = new MeOnTheMap({ container: "map_sidebar2", html: "<?php echo str_replace('"',"",$post->post_title); ?>", address: "<?php echo str_replace('"','',get_post_meta($post->ID, "map_location", true)); ?

Is it possible to draw a path of coordinates and navigate between them, using Google Maps or other apps?

匆匆过客 提交于 2019-12-24 07:53:08
问题 This is a simple question. I know it's possible to request to navigate to a specific place, as shown here. I know there are also some other APIs for Google Maps (here and here), but I don't see an option to send multiple coordinates, to see the path between them, and navigate between them. For the Web version, there is the ability for waypoints (example here and here), but not for Android. Is it possible to do it, via Google Maps, or another app? Or maybe even in the Google Maps API (within

Georeferencing of image (like Google Floor Plans)

丶灬走出姿态 提交于 2019-12-24 07:46:05
问题 I have a building floor plan and I need to specify its position on top of google map. I like the way this is done in Google Floor Plans app - screenshot(the right part with map) - but I cannot figure out how they made it! :) What part in Google Maps API I should look at? In short - I have an image (plan of floor), and need to show it on top of Google Map and be able to manipulate with it (changing dimensions on events). 回答1: I'm thinking you'll want to implement a custom overlay. That link