Skip to main content

All Questions

0 votes
1 answer
96 views

Hide/Show Google Maps markers (groups) by radio button

I found an interesting example of showing markers groups using checkboxes: link But sometimes one place has several categories (e.g. burgers, pizzeria etc.) and this results in several icons in one ...
cyberjarek's user avatar
-2 votes
1 answer
189 views

How to remove default marker when replace new icon marker on Google map

I'm use icon marker to replace default marker of google map, but i use icon marker png, i cannot remove default marker.. This is Script: function myMap() { var directionsService = new google....
Thanh Nam Pham's user avatar
0 votes
1 answer
81 views

Problem looping through marker.layers and changing only one CCS layer properties

I have several markers on a map. They load and add and remove well but I cant change one CSS element on just one marker, I can find the layerm. If I loop through the layers but find the correct one ...
KidfromCov's user avatar
1 vote
0 answers
12 views

Google Map is not visible because dynamic value are showing undefined [duplicate]

Below is my code. I have declared the global variables longitude & latitude but if I want to print the alert of longitude or latitude, then the value is only working when I add it inside navigator....
baxi's user avatar
  • 153
-2 votes
1 answer
752 views

Uncaught ReferenceError: MarkerWithLabel is not defined jQuery

I am using these two links to work with google map <script src="https://maps.googleapis.com/maps/api/js?key=AIza...................&language=en&sensor=false&libraries=geometry,...
adhirath wcities's user avatar
0 votes
1 answer
395 views

Dragging map to the selected marker from the list line leaflet map

If I am on the list of agencies, and each time I click on the agency line, it will slide on the map to marker. In this case, it do jump not drag on the map: $("#myTable tr").hover(function ()...
Roberto's user avatar
  • 51
0 votes
1 answer
247 views

Use OpenWeather Icons as Markers on Leaflet Map

I'm trying to add the weather icons returned from an openweather API call to my leaflet map as markers but not getting any luck. They will display in a pop up on the marker in an tag and when I ...
Sophie's user avatar
  • 45
-2 votes
1 answer
167 views

Google map is not showing what could be the problem in my script?(closed)

What could be the problem in my script why my google map is not showing? I want to add some element click event to zoom or to jump on that location but after adding some changes my map is not showing ...
frustrated-dev's user avatar
0 votes
1 answer
67 views

How to remove a marker from specific map in case of multiple maps on single page

Right now i have a marker drawn on two maps, but when i call setMap(null); it removes maker from both maps. function deleteAllMarkers() { //marker = markers.filter(function (m) { return m.tag == tID; ...
Fawad Ali's user avatar
  • 582
2 votes
1 answer
1k views

How to fill the color of a cluster with the colors of inside markers?

On a custom leaflet map, I am trying to build a function to fill the background color of a cluster icon from the color of the markers that are inside the cluster. For example, if a cluster has 7 green ...
blogob's user avatar
  • 510
1 vote
1 answer
212 views

Group map countries in drop down menu

I’m creating a map with some markers and a drop down menu to select them by country. Many markers are in the same country, so my drop down menu ended up having the option for the same country multiple ...
Mariana Stefani's user avatar
-3 votes
1 answer
422 views

How can I add two different marker in Google Map?

I want to add two differente marker with different icon in Google map but when I choose one the second marker icon is replaced per the first icon . example : When I click on point a mark should be ...
Noua's user avatar
  • 1
0 votes
1 answer
43 views

google map with marker not appear map

I have been trying to display a marker on the map when I click an address but the map is not displayed. <div class="gmap_canvas"> <div id="g-map"></div> </div> <script ...
divakar's user avatar
  • 61
-2 votes
1 answer
488 views

buttons to either zoom or show specific map markers

I have 32 locations of UK castles which when clicked I want the map marker to either show up or it zoom into the map marker that is already there. For example when Windsor castle button is clicked i ...
Ananya's user avatar
  • 1
-1 votes
1 answer
337 views

google map marker click function problem for different external links

I am using google map for my website. I would like to show different colors when clicking on the right menu of the map. each link has it's own marker color. If you click on the first link the marker ...
mkafiyan's user avatar
  • 944

15 30 50 per page
1
2 3 4 5
20