diff options
author | Sam Wilkins <samwilkins333@gmail.com> | 2020-04-12 21:41:06 -0700 |
---|---|---|
committer | Sam Wilkins <samwilkins333@gmail.com> | 2020-04-12 21:41:06 -0700 |
commit | 8143af6ed24b4d3b02e8be306e1dd6fba1e206ce (patch) | |
tree | 20b3ab9df4d7757332fefb56d03e244158a6bdc3 /src | |
parent | 348e794e7ff341a4358be6ed9515fc6ae723092e (diff) |
clean up
Diffstat (limited to 'src')
-rw-r--r-- | src/client/views/collections/CollectionMapView.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionMapView.tsx b/src/client/views/collections/CollectionMapView.tsx index 49411f61b..6ab152836 100644 --- a/src/client/views/collections/CollectionMapView.tsx +++ b/src/client/views/collections/CollectionMapView.tsx @@ -39,6 +39,7 @@ class CollectionMapView extends CollectionSubView<MapDocument, Partial<MapProps> lng: NumCast(childLayoutPairs[0].layout.locationLng, 0) }; const iconSize = new google.maps.Size(NumCast(layout.mapIconWidth, 45), NumCast(layout.mapIconHeight, 45)); + return ( <Marker key={Utils.GenerateGuid()} @@ -51,7 +52,7 @@ class CollectionMapView extends CollectionSubView<MapDocument, Partial<MapProps> icon={{ size: iconSize, scaledSize: iconSize, - url: StrCast(Document.mapIconUrl, "https://www.pinclipart.com/picdir/middle/359-3598915_map-marker-icon-location-icon-png-clipart.png") + url: StrCast(Document.mapIconUrl, null) }} /> ); |