R
R
rudaki29rus2018-03-14 07:54:29
Google Maps
rudaki29rus, 2018-03-14 07:54:29

How to import addresses to google maps?

Hello. I am importing addresses from an excel table to a Google map, everything is fine, but is it possible to set some fields in the table so that the color of the marker changes?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis, 2018-03-14
@sidni

You can only change the marker icon

var iconBase = 'https://maps.google.com/mapfiles/kml/shapes/';
  var marker = new google.maps.Marker({
    position: myLatLng,
    map: map,
    icon: iconBase + 'parking_lot_maps.png'
  });

https://developers.google.com/maps/documentation/j...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question