I am new to google Maps,and planning to use customized marker which will have
arrow pointer surrounded with circle icon based on the movement I want to rotate
marker.
Как указано в документации по настройке маркеров, я могу использовать SVG-путь как обозначение маркера. и вот мой встроенный код SVG.google maps customizing marker
<!DOCTYPE html>
<html>
<body>
<svg height="210" width="500">
<circle cx="14" cy="11" r="9" stroke-width="2" fill="#8dc73f" />
<line x1="14" y1="16" x2="14" y2="6" style="stroke: white;stroke-width:2" />
<line x1="10" y1="10" x2="14" y2="6" style="stroke: white;stroke-width:2" />
<line x1="18" y1="10" x2="14" y2="6" style="stroke: white;stroke-width:2" />
</svg>
</body>
</html>
Я понятия не имею, чтобы сгенерировать путь для вышеуказанного SVG-кода. Google Markers будет строго принимать только PATH.
Is there any way I can generate a path for the SVG inline code.
ИЛИ
Is there any other possible approach I can customize the marker in the HTML
content and render into the map?
На самом деле я понятия не имею, как преобразовать в путь .. –