I need to number my markers, and I need various colors. This Labeled marker does exactly what I need.
Is there any way to easily integrate the mapiconmaker functionality with the Map Control?
var iconOptions = {};iconOptions.primaryColor = "#FF0000";iconOptions.strokeColor = "#000000";iconOptions.label = "a";iconOptions.labelColor = "#000000";iconOptions.addStar = false;iconOptions.starPrimaryColor = "#FFFF00";iconOptions.starStrokeColor = "#0000FF"; var icon = MapIconMaker.createLabeledMarkerIcon(iconOptions);var marker = new GMarker(map.getCenter(), {icon: newIcon});map.addOverlay(marker);
Or, is there another way that I can change the color and label of an icon with the Map Control?