I am redoing my website with Reactjs. I’m trying to embed an exact google place with reviews on the map so it would look like this (My website written with wordpress) So far I could only display a pin with exact coordinates, and it would look like this Is there a way to embed an exact place on the maps
Tag: google-maps
Multiple tile issue google maps API v3 JS
I have a map where user from an admin panel can add many tiled layers to the map. Those layers will be added to the map in the form of loop. The user can switch the layer on and off based on their selection. After adding the layers via the loop when I select the first layer the second layer
Change icon back to default state after infoWindow closed Google Maps
So my goal here is to make the icon go from the “normalIcon” state to the “activeIcon” state on button click, which it currently does. It opens an infoWindow when the pin is clicked as well. I want the icon to go back to the “normalIcon” state when the infoWindow is closed. Right now, if you click on a different
Google Maps Infobox images pop out to another infobox with an image gallery
So I have this location that I have images for. I have about 15 images and I want there to only be 4 images on the infoWindow for the location and then you can click on the images and it will initialize a pop-up gallery slider. It currently does nothing when the image is clicked. I have 2 other locations
Generate dynamic KML and load it with Maps API
Hi all i have task to create monitoring of 200 ip addresses and for each of this ip we have location latitude/longitude. Now for the monitoring purpose i have perl script runing which pings all 200hosts and update their status in MySql database. Now i want to display these 200 locations on google maps and change marker color depending on
Adding Marker Label underneath a marker to Google Maps in google-maps-react
I am using google-maps-react package to create the Google map and using Marker to create the markers. My Question: How can I add the marker label underneath the marker? Right now I have it displaying a title but its on-top of the marker. I have screen shots of what I have now vs what I’m trying to accomplish besides the
Moving Bus Icon on Google Map Using JavaScript
I’m using Javascript Google Map. I want to add a moving bus icon as the map marker will reload a new location every 5 seconds. Everything is running perfectly. I just want to add an icon that will look like a real bus, which will move on the road. I did search for that and found the following code: My
Google Maps: Uncaught ReferenceError: google is not defined
I am receiving this error when I try to load an HTML page with my map: Uncaught ReferenceError: google is not defined I thought it was the order in which I was loading the Google maps API, but I have it at the beginning. My HTML looks like this: The mapCode.js that my html code calls looks like this. DO
calculate distance between two coordinates in javascript?
I am trying to calculate distance between two lats and longs in KM and show that distance in label or paragraph. I have an address from which I need to figure out lat1 and lon1. I am able to figure this out. I need to find lat2 and lon2 of my current location. I am able to figure this out
How to show indian state borders in google maps api?
I am looking to develop a google map which clearly shows state boundaries of Indian states, something like It clearly shows the state boundaries of Indian states, any idea how to do it? I found a lot but did not get satisfactory results any help will be really appreciated ! Answer You can use loading KML file on google map.