mapHeight | string | Sets the height of the map | '100px','100%'... | '500px' |
mapWidth | string | Sets the width of the map | '100px','100%'... | '100%' |
zoom | int | Sets the zoom of map | any number | 10 |
center | LatLang | Sets the center of map | object of LatLang | {lat: -34.397, lng: 150.644} |
mapType | string | Sets the type of map | ['ROADMAP', 'SATELLITE', 'HYBRID', 'TERRAIN'] | 'ROADMAP' |
showErrors | boolean | Shows custom error messages on console | true,false | true |
locationAccess | boolean | Allow to get the location of the user | true,false | true |
placeMarkerOnClick | boolean | Places a marker on map in every click | true,false | false |
showControl | boolean | Shows google map drawing controls | true,false | true |
position | string | Sets the location of drawing tools.Refer drawing tools positions of Google Map API. | 'TOP_CENTER' , 'TOP_RIGHT' , 'BOTTOM_LEFT',... | 'TOP_CENTER' |
showModes | string[] | Shows only specified drawing controls. When null shows all. | 'marker' , 'circle' , 'polygon' , 'polyline' , 'rectangle' | All |
commonOption | OverLayOption | Sets the properties of all drawing options. | object of OverLayOption | {fillColor:'#005696' ,fillOpacity:0.2, strokeColor:'#005696' ,strokeWeight:3, clickable:true, editable:true, draggable:true,zIndex:1} |
circleOption | OverLayOption | Overrides only the circle overlay properties. | object of OverLayOption | same as common option default |
polygonOption | OverLayOption | Overrides only the polygon overlay properties. | object of OverLayOption | same as common option default |
polylineOption | OverLayOption | Overrides only the polyline overlay properties. | object of OverLayOption | same as common option default |
rectangleOption | OverLayOption | Overrides only the rectangle overlay properties. | object of OverLayOption | same as common option default |
markerOption | MarkerOption | Overrides only the marker properties. | object of MarkerOption | {animation: 'DROP',draggable: true,title: '',icon: null} |
customButtons | boolean | Shows custom buttons - Undo,Save,Clear ... | true,false | true |
onlyCustomButtons | string[] | Shows only the specified custom buttons.By default shows all. | 'undo','clear','delete', 'save','saveAll' | All |
googleMapObjects | boolean | If true, returns google map objects rather than custom objects. | true,false | false |
shapes | Shape[] | Pass overlays as a shape object to show the overlay on map | Shape objects | [] |