Skip to main content

Questions tagged [google-maps]

Google Maps is a desktop and mobile web mapping service application and technology provided by Google, offering satellite imagery, street maps, and Street View perspectives. Also supported are maps embedded on third-party websites via the Google Maps API, and a locator for urban businesses and other organizations in numerous countries around the world.

google-maps
0 votes
0 answers
10 views

Google Maps API: google.maps.Map is not a constructor error

I have a page where Google Maps is loaded, was working correctly. Recently (few days ago) it starting throwing errors at DEV environment. At first with CTRL+F5 this issue would disappear, but now is ...
rd1218's user avatar
  • 353
0 votes
0 answers
9 views

Pointing the camera at the coordinates

I will point the camera to the coordinates according to the existing API. but only the marker can go to the coordinates but not the camera. Please help I include my code snippet // Membuat objek ...
Chaidar Aria's user avatar
-1 votes
0 answers
11 views

Npm google.maps - AdvancedMarkerElement does not have all the functions as of Legacy Marker element

I needed to use AdvancedMarkerElement in my Project so have installed Npm package google.maps "@types/google.maps": "^3.55.11" But when i tried replacing marker with ...
Priya Ganesan's user avatar
0 votes
0 answers
9 views

React Native Maps : can't execute action when custom marker is pressed?

in my react native app I use react-native-maps to show some custom markers on a google map, i wan to execute an action as prop when a user clicks on a custom marker but I can't seem to get this to ...
gabogabans's user avatar
  • 3,465
0 votes
0 answers
28 views

How can I dynamically retrieve GeoJSON data based on a given country or state name?

I am developing a Next.js application where I display a map on the dashboard using the react-leaflet package. When the dashboard page loads, a GET API is called, returning an array of strings, which ...
vijay s's user avatar
  • 327
-5 votes
1 answer
53 views

Google Maps API not returning values on localhost but works fine on live server [closed]

Google Maps API functions correctly on the live server, but fails to return values when run on localhost. (Controller Page:) // Make a request to the Google Maps Geocoding API $response = $...
MdRasen's user avatar
-2 votes
2 answers
32 views

TypeError: Cannot read properties of undefined (reading 'DRIVING') [closed]

const request: google.maps.DirectionsRequest = { destination: {lat: 12, lng: 4}, origin: {lat: 14, lng: 8}, travelMode: google.maps.TravelMode.DRIVING }; I have the above code in my ...
HARSHITH's user avatar
-4 votes
0 answers
32 views

Maps JavaScript Api [closed]

I am working on my final year project where I used google map api but the map is not loaded in my website, when i console the browser then it shows me this error. Google Maps JavaScript API has been ...
Faiqa r Sheikh's user avatar
-1 votes
0 answers
17 views

error loading google map image on website [closed]

enter image description herehello I have just transferred my website from jimdo to hostinger, to migrate the data, I downloaded the code of the site from an external app, everything works well with ...
Anthonin Chaboteaux's user avatar
0 votes
0 answers
16 views

In Android emulator in the extended control section Google Maps is not showing, only an empty screen appears. How to fix?

I have an Android emulator with the below specified configuration. The issue what is happening is whenever I try to open the extended controls in the location tab the map is not showing, instead it's ...
Arnab Ghosh's user avatar
-1 votes
0 answers
20 views

react-google-maps/api loading raster (PNG) icons for markers still lead to poor performance vs SVG icon [closed]

I am using react-google-maps/api and loading about 300 markers. Originally, I loaded SVG icons which lead to pretty poor map performance in that dragging and zooming were laggy. I think came across ...
somethingstrang's user avatar
-2 votes
0 answers
23 views

how to get google map js api get lat, lng with selected address [closed]

This code provides an address autocomplete feature using the Google Places API. When a user types in the "from" field, it shows address suggestions. Upon selecting an address, it needs to ...
Faisal Khan's user avatar
-2 votes
0 answers
103 views

Google Place Autocomplete Widget Suggestions Items not clickable by mouse

Based on what is reported on https://developers.google.com/maps/documentation/javascript/place-autocomplete-new I replicated the code to open the maps, along with an input for autocomplete, in a ...
Frank's user avatar
  • 1
-1 votes
0 answers
18 views

Not able to select a suggestion provided by Google Maps Standalone Searchbox [closed]

Iam making a project in React using NextJS, am trying to implement a standalone search box inside Google Maps' Standalone searchbox, the search box is giving me suggestions, but even though I try ...
Priyanshu Choubey's user avatar
-2 votes
1 answer
52 views

I get extremely slow performance in Angular Google Maps when I have to load hundreds of markers

I'm rendering around 400 map advanced markers, however, these make my app extremely slow and I can't see anything that could cause this problem. This is the code I have: <div class="map-...
Alex's user avatar
  • 57

15 30 50 per page
1
2 3 4 5
4404