Circle

Generate a circle and edit properties

Circle

Creates a circle that takes center point, radius, colors, and transparency as arguments.

new fatosmap.maps.Circle({ option });

Parameter

Example

let center = {lat: 37.5650745, lng:126.9850103}

let cityCircle = new fatosmap.maps.Circle({    
    fillColor: '#FF0000',    
    fillOpacity: 0.35,    
    center: center,
    radius:10*100
    text: 'FATOS',
    textColor:'#fff',
    textSize: 25,
    textOffset:[5,4]
    textHaloWidth:10
});    

cityCircle.setMap(mapInstance);

Last updated