0

Hello I have the followed json that shows a location in lightning-map:

mapMarkers = [
    {
        location: {
            City: 'San Francisco',
            Country: 'USA',
            PostalCode: '94105',
            State: 'CA',
            Street: '415 Mission St',
        },
        mapIcon: {
        path: 'M 125,5 155,90 245,90 175,145 200,230 125,180 50,230 75,145 5,90 95,90 z',
        fillColor: 'gold',
        fillOpacity: .8,
        strokeWeight: 0,
        scale: .10,
        anchor: {x: 122.5, y: 115}
        },
    ];
}

I have being looking the Google Maps documentation https://developers.google.com/maps/documentation/javascript/examples/icon-simple in order to be able to draw a circle, and the typical icon market of google maps (like the circlue with an edge that point the location https://developers.google.com/maps/documentation/javascript/examples/marker-symbol-custom#maps_marker_symbol_custom-javascript).

The problem is that I have not being able to draw the circle path not the icon marker.

Could anybody tell me what is the circle path code and the icon marker path? Thanks

1
  • You will have to check on Google developer forums Mar 20 at 0:40

0

You must log in to answer this question.