Vertoh

  1. Home
  2. Docs
  3. Vertoh
  4. Frequently Asked Questions
  5. Is it possible to change the colour of POI icons ?

Is it possible to change the colour of POI icons ?

1) Please don’t forget to take a back up of the file prior to any changes.

2) Open vertoh/js/map.js

3) Search for the following ( apx line no :8) :

bounds = new google.maps.LatLngBounds();

4) Please add the following code just below that line

var pinColor = “FE7569”; // you can change the colour here
var pinImage = new google.maps.MarkerImage(“http://chart.apis.google.com/chart?chst=d_map_pin_letter&chld=%E2%80%A2|” + pinColor);

5) Search for the following code

icon: poi_marker

6) Replace that with the following:

icon: pinImage

7) Update the file.

Was this article helpful to you? Yes No