javascript - Google Maps Default Icons -
i trying current default google maps icons.
i making program google maps api , have set directionsrenderer suppress markers can make markers set specific icon.
this current result:
this had before suppressing default markers:
later in program adding waypoints set markers ones above letter a, b, c, etc. different color, (like marker "a", green).
i have visited several sites such as:
https://developers.google.com/maps/documentation/javascript/examples/marker-symbol-predefined
https://www.google.com/fusiontables/datasource?dsrcid=308519#map:id=3
google maps v3 standard icon/shadow names (equiv. of g_default_icon in v2)
the markers these websites tell use, not same current markers. wondering if there way call current "green marker a" in fusion tables:
if so, how? thanks!
when take @ network-tab of developer-tools you'll see url green marker is:
https://mts.googleapis.com/vt/icon/name=icons/spotlight/spotlight-waypoint-a.png&text=a&psize=16&font=fonts/roboto-regular.ttf&color=ff333333&ax=44&ay=48&scale=1 //------------------------------------------------------------------------------------^
the letter may defined via text
-parameter
(note: there color
-parameter, parameter used text-color , not background of marker)
Comments
Post a Comment