function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
gautamgautam 

dynamic google map with different marker color

Hi all,

 

We have a requirement where we need to assign different color to different billing cities and plot those cities on dynamic google map. We calculate the color for cities in controller like blue  marker color, red marker color etc.

 

now when we try to plot these cities in dynamic google map with marker color. It does not come up properly.

 

Issues around dynamic google maps are
1>It is not consistent everytime.Sometimes the map does not appear at all.
2>When we try to assign different colors to cities, it does not work.It works only for a single color marker.
3>We need to provide delay in the form of alert messages in code so that all cities are mapped properly with InfoWindow information.

 

If anyone has worked on dynamic google map, please help us out. Thanks.