Questions tagged [google-maps-api-3]

Google Maps JavaScript API Version 3 lets you embed the functionality of Google Maps into your own website. Version 3 provides greatly improved support for mobile devices. Ask non-programming and licensing questions in the Maps API Google Group (see full description for a link)

0
votes
0answers
8 views

Google maps autocomplete change search icon color Android

I am using google maps auto-complete fragment. How can I change the color of the search icon so that my search bar will have enough color contrast? Right now it looks like the following, and I want ...
0
votes
0answers
6 views

My location button is not being displayed in the ionic3 google map?

I have implemented the live tracking in our application but in my case map is showing properly but user location button is now show.i have tried below but not working : controls : { myLocation : ...
0
votes
0answers
16 views

Get Latitude and Longitude from Google Places Autocomplete in React Native

I've implemented autocomplete for my address field, but the json returned from the Google Maps Places Autocomplete doesn't include the geocoded coords for the places. There are some answers out ...
0
votes
2answers
16 views

How to print several markers google map api 0.5.7 Flutter

I am trying to use google map api last version (0.5.7) but on my map there is only one marker that is printed but there are many markes on the database and it was working well before I tried to put ...
0
votes
0answers
23 views

Placeholder image showing but not actual image with Picasso and Glide - Android

I want to create a custom marker in Google Map for Android. Image for custom marker will come from URL. To load image from URL I have tried Picasso and Glide. Issue: While loading image from URL, it'...
0
votes
1answer
18 views

Uncaught (in promise) Error: Could not load “places_impl” google maps api with javascript

In my Java Spring MVC web application, I am trying to load the google map with multiple locations and an option to set a location using the Places API. I have the following code: <div class="map-...
-2
votes
0answers
20 views

How to calculate slope and slope aspect of Polygon Google Maps API

Google Maps Api does not provide native solution for calculating Slope and Slope aspect for Polygons. I have found formula to get Slope for two coordinates, but it does not suitable for my case. And ...
0
votes
0answers
29 views

Which option is better between Google Maps Platform or calculate self? [on hold]

I need to get the coordinates from the user so as to get the city and distance to places in my Android application. My app runs on a NodeJS server connection. My idea is to do this: 1. Google Maps ...
-3
votes
0answers
25 views

How to implement Google PlacePicker in 2019? all code from previous is deprecated? [on hold]

I am trying to implement google place picker however all code provided from google docs is deprecated. The new google places sdk does not provide code for google places picker.
-1
votes
1answer
32 views

How to fetch the distance and duration of the response from javascript into jsp and store session scope?

It's a project which includes a part to calculate distance and give a fare estimate. I have written a code for my map api which I am using to calculate distance and duration using google distance ...
-1
votes
1answer
21 views

Geolocation maps api v3 setinterval

is that I have an error with google maps, I need to update the user's position every 5 seconds centering the map, but when using setCenter it leaves indefinite error because the map does not exist, ...
0
votes
0answers
37 views

route is not displaying using google maps

i am trying to make a page that displays markers and when i click on them it should show me a route to my destination but it doesn't shows the routes can anybody has a idea what should i do? i tried ...
-1
votes
0answers
14 views

the infowindow content form is not saving in database

hi i am trying to make a map that takes user data from html form in infowindow and store it in the database but i can just show the infowindow with form only, storing Data in DB is not working, when i ...
-1
votes
0answers
18 views

Got “Not Found” from the directional service in ionic3?

i have implemented the directional service in ionic3 but i got error "Not Found" every time.i am not able to show line between 2 distance.please check my below code what the wrong in my code? ...
-1
votes
0answers
16 views

I am getting this errort: Loading failed for the <script> with source “https://maps.googleapis.com/maps/api/js/GeocodeService.Search [duplicate]

I am getting Loading failed for the with source “https://maps.googleapis.com/maps/api/js/GeocodeService.Search from my browser when loading from localhost and from live server. The autocomplete ...
-4
votes
0answers
22 views

How to do i go about creating a web app using google maps api which will give me shortest route between two given locations [on hold]

im new to web ,im developing a ride sharing web app,so i need help on how to go about implementing google maps api into the web app and also for finding shortest path between 2 locations
0
votes
1answer
29 views

OverlappingMarkerSpiderfier - google maps - get a special icon for spiderable markers

I try to implement OverlappingMarkerSpiderfier to view the user multiple markers, when they are on the exact same location. With the following code, everything works fine: function initMap() { var ...
0
votes
1answer
27 views

Google Maps Change JSON Overlay Style On Checkbox

I want to be able to change the styling of the JSON overlay based on radio button being checked or not. Radio Buttons Area 1 through Area 5 change the JSONs displayed Radio Buttons Color JSON and ...
-1
votes
0answers
16 views

Google Maps JS V3 API - initMap is not a function

I'm using the Google Maps JS V3 API to display maps for events: window.initMap = function(){ var map = new google.maps.Map(document.getElementById('event_map'), { zoom: 15, minZoom: ...
-1
votes
0answers
28 views

Is converting GSV API panorama files to photosphere/cubemap the only way to support VR

We are building a VR project and hope to use Street view panoramas extracted from the API. To display them in any VR viewer, such as cardboard, we need to first convert the .png panorama file ...
0
votes
0answers
20 views

Show real time data without manually refreshing page

I am using Google Maps. In a map I am displaying data from the backend API using AWS api-gateway. I am using aws-serverless-express library for this task and I want to auto-refresh the map data when ...
-3
votes
0answers
24 views

Create multiple Polylines in Google Map API

I try to display multiple Polylines in a Google Map. However, the map just appears without any Polyline and there is no error on Console. // vars var args = { zoom: 12, center: new google.maps....
-2
votes
0answers
19 views

Custom marker break when too many markers

When the maps displays a few markers, everything is fine, but when displaying "too many markers", the custom icon breaks and I have no idea why. Anyone knows how to solve this or is able to point me ...
-2
votes
0answers
14 views

How to create a grid inside a user drawn polygon in google maps?

Let's say a user has drawn a rectangle or any sort of polygon, upon render i want to draw a grid on top of the polygon constrained by its shape. google.maps.event.addListener(drawingManager, "...
-2
votes
0answers
21 views

google accounts, photos, maps api… how to get a list of contributed photos to google maps for a user?

Google has maps and photos api. There is no G+ anymore. Is there a way to get a list of all photos that have been contributed to google maps for a user? Thanks
1
vote
1answer
17 views

Google Maps V3 DrawingManager not remembering editable/draggable flags

I'm trying to set the stroke and fill color of a Google Maps DrawingManager sometime after it's created. I don't know if the DrawingManager was originally set up to have editable and draggable ...
-2
votes
0answers
10 views

Imported content is empty error on Google Sheets using Google Maps Distance API

I'm trying to fetch driving distance between two postal codes in the Netherlands in Google Sheets using Google Maps Directions API. I'm already using the formula below, but I get the error "imported ...
-1
votes
1answer
22 views

Display InfoWindow for marker clusterers with the same position

I am using MarkerClusterer script to display pins on map. When the user clicks on a pin, it displays an info window. This works fine for single pins. There are also multiple pins with the exact same ...
-2
votes
0answers
38 views

google map maker glow effect on mouse over

I am creating marker based on json value. Here I am trying to create hover effect on marker/pin, that is drawing circle around pin icons onmouseover and mouseout events. Loading data from json, ...
0
votes
0answers
24 views

Track multiple user's position with Google's watchPosition and Vue.js

I have a game that tracks each player and displays it in realtime on a leaderboard. I am having some issues and was hoping someone could lend a hand. I think it has something to do with the ...
0
votes
1answer
37 views

Google Maps Multiple JSON Overlays With Same SetStyle Function

I have multiple JSON overlay files - Area 1 through 5. //AREA 1// map.data.loadGeoJson('https://api.myjson.com/bins/myw18'); //AREA 2// map.data.loadGeoJson('https://api.myjson.com/bins/...
0
votes
1answer
32 views

How to toggle visibility of multiple JSON overlays in Google Maps

I have multiple JSON overlay files - Area 1 through 6. I want to be able to control the visibility of the overlays using the radio button menu. I've tried setting each overlay as a variable and ...
-2
votes
0answers
16 views

How to set Google Map API to rotate Google Map on 2D view?

I have implemented Google Map from the guid https://developers.google.com/maps/documentation/javascript/examples/aerial-simple. The problem is when switch the view from 3d to 2d (by click tilt ...
-2
votes
0answers
12 views

Google map with only markers and polygons

I want to create a google map with only markers and polygons(markers are connected). I want to implement this using php and Javascript. How can i implement this
-1
votes
0answers
9 views

KML layers set default opened in google maps api js

I have created the map and also I imported my kml. kmlLayer.addListener("click", function(event) { var content = event.featureData.infoWindowHtml; var testimonial = document....
-2
votes
0answers
13 views

Is there Route Change event for DirectionsRenderer panel in Google Maps JavaScript api?

I am using Google Maps api and displaying the directions using the google.maps.DirectionsRenderer class to create a Direction Panel. In the suggested routes I wan't a change event/ click event once a ...
-7
votes
0answers
43 views

How can I get raw GPS data of entire route from Google Maps API? [closed]

I am trying to build an webapp that avoids a specific GPS location on a route generated by Google Maps' API. However, to do this, I need to know all the GPS locations that are travelled past to ...
0
votes
1answer
20 views

Polyline clear bug after 3 re-paint

This is the all routes provided by my source and destination location: image_1 This is the route 1 selected (black): image_2 This is the route 2 selected (black ): image_3 Now, when I select the ...
0
votes
1answer
16 views

How to add street view thumbnail to marker tooltip in Google Maps API

Im trying to embed google maps in my app (using react-google-maps package as a wrapper) and would like to show the street view of the selected location in the marker info window (tooltip). Im trying ...
0
votes
1answer
28 views

How to change a polygon's edge upon clicking on google maps

I know you can override the polygon's option by myPolygon.setOptions(newOptions); But what i'm trying to figure out is only change the color of one edge of the polygon instead of the entire polygon. ...
-2
votes
0answers
18 views

How to show only Restaurants, Entertainment, and Grocery Store POI on Google Maps API

I am wanting to use the Maps JS API to display a map that has all points of interest stripped off except for restaurants, entertainment (theaters, casino, night club, etc.), and convenience stores. ...
1
vote
1answer
27 views

How to restrict Google Maps API AutocompleteService from giving out of bounds suggestions

Currently I'm working with AutocompleteService class from the Google Maps API. From the documentation I'm using the bounds to apply the bounds for New York City. However, I'm getting results from NJ ...
0
votes
1answer
26 views

Google Maps API KEY Abuse using BOTNET + APK

Im going to make an app which uses Google Maps API. We all know it isn't free for searching etc. This API KEY needs to be saved in the app code which can be reverse engineered and extracted. What ...
-2
votes
0answers
16 views

Can't access “this” inside Google Maps API addListener() callback

This is a snippet from a Vue.js component method (if it makes a difference). I'm trying to access this.$store inside the addListener() callback, but it's undefined. Assigning this to that just before ...
-2
votes
0answers
19 views

Probelm with Google maps API and getting maps displayed on my Website

I'm trying to embed google maps routing on my website, I have the 365-day free API key, but when trying to test example code it returns an error. my website needs to provide routing from point A- ...
0
votes
1answer
37 views

Google Maps API must click on marker twice to dynamically display image

I display many markers on a Google Map. Clicking on a marker brings up an infowindow containing text and a small image. The image is dynamically loaded using Jscript. The owner of the server where I ...
0
votes
0answers
23 views

Incorrect address returned by the Google Geocoder API

I am using the Geocoder API to get the address components for a geolocation. In the example below, the lat/long 39.35703, -81.30830 returns the address "WV-2, St Marys, WV 26170, USA" from the ...
-2
votes
0answers
12 views

finding location of MARK

https://i.ibb.co/b3pKY55/AUS-Map.jpg basically we have four section in google map as defined in image. user input his address and we draw its Mark/pin in section A or B or C or D using google map api ...
-2
votes
0answers
10 views

How can I see a history of addresses that users typed in my Google Places API search box?

My site uses a Google Places API to autocomplete addresses. I already checked the Google API console and did not see the answer to this. How can I see a history of addresses that users entered in the ...
-1
votes
1answer
63 views

How to fix ‘Over Query Limit’ error using Google Maps API

The problem here is that Google returns "Over Query Limit" every time I run it. And I also seem to be unable to retrieve any destination suggestions from google whenever I use the search bar. and the ...

http://mssss.yulina-kosm.ru