diff options
Diffstat (limited to 'src/client/views/collections/MapView/CollectionMapView.tsx')
| -rw-r--r-- | src/client/views/collections/MapView/CollectionMapView.tsx | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/client/views/collections/MapView/CollectionMapView.tsx b/src/client/views/collections/MapView/CollectionMapView.tsx index 1166de61c..885f51bfb 100644 --- a/src/client/views/collections/MapView/CollectionMapView.tsx +++ b/src/client/views/collections/MapView/CollectionMapView.tsx @@ -54,18 +54,18 @@ const mapOptions = { fullscreenControl: false, } -const drawingManager = new google.maps.drawing.DrawingManager({ - drawingControl: true, - drawingControlOptions: { - position: google.maps.ControlPosition.TOP_RIGHT, - drawingModes: [ - google.maps.drawing.OverlayType.MARKER, - // currently we are not supporting the following drawing mode on map, a thought for future development - // google.maps.drawing.OverlayType.CIRCLE, - // google.maps.drawing.OverlayType.POLYLINE, - ], - }, -}); +// const drawingManager = new google.maps.drawing.DrawingManager({ +// drawingControl: true, +// drawingControlOptions: { +// position: google.maps.ControlPosition.TOP_RIGHT, +// drawingModes: [ +// google.maps.drawing.OverlayType.MARKER, +// // currently we are not supporting the following drawing mode on map, a thought for future development +// // google.maps.drawing.OverlayType.CIRCLE, +// // google.maps.drawing.OverlayType.POLYLINE, +// ], +// }, +// }); const options = { fields: ["formatted_address", "geometry", "name"], // note: level of details is charged by item per retrieval, not recommended to return all fields |
