From 744b762877a1701cc62101ea12e9ab9f4c32a3bd Mon Sep 17 00:00:00 2001 From: sakhi Date: Sun, 19 Aug 2018 17:48:30 +0500 Subject: [PATCH] fix(docs): Map reference error with new API key --- src/components/BicyclingLayer.md | 2 +- src/components/DirectionsRenderer.md | 2 +- src/components/FusionTablesLayer.md | 2 +- src/components/GoogleMap.md | 2 +- src/components/GroundOverlay.md | 2 +- src/components/InfoWindow.md | 2 +- src/components/KmlLayer.md | 2 +- src/components/Marker.md | 2 +- src/components/OverlayView.md | 2 +- src/components/StreetViewPanorama.md | 2 +- src/components/TrafficLayer.md | 2 +- src/components/addons/InfoBox.md | 2 +- src/components/addons/MarkerClusterer.md | 2 +- src/components/addons/MarkerWithLabel.md | 2 +- src/components/drawing/DrawingManager.md | 2 +- src/components/places/SearchBox.md | 2 +- src/components/places/StandaloneSearchBox.md | 2 +- src/withScriptjs.md | 2 +- 18 files changed, 18 insertions(+), 18 deletions(-) diff --git a/src/components/BicyclingLayer.md b/src/components/BicyclingLayer.md index 98bcd586..912a4974 100644 --- a/src/components/BicyclingLayer.md +++ b/src/components/BicyclingLayer.md @@ -11,7 +11,7 @@ const { const MapWithABicyclingLayer = compose( withProps({ - googleMapURL: "https://maps.googleapis.com/maps/api/js?key=AIzaSyC4R6AN7SmujjPUIGKdyao2Kqitzr1kiRg&v=3.exp&libraries=geometry,drawing,places", + googleMapURL: "https://maps.googleapis.com/maps/api/js?key=AIzaSyDDe44e1ctJvBUEKGeHp9TbuulZ0C6Dh0A&v=3.exp&libraries=geometry,drawing,places", loadingElement:
, containerElement:
, mapElement:
, diff --git a/src/components/DirectionsRenderer.md b/src/components/DirectionsRenderer.md index 7bd02bd0..f06af87f 100644 --- a/src/components/DirectionsRenderer.md +++ b/src/components/DirectionsRenderer.md @@ -11,7 +11,7 @@ const { const MapWithADirectionsRenderer = compose( withProps({ - googleMapURL: "https://maps.googleapis.com/maps/api/js?key=AIzaSyC4R6AN7SmujjPUIGKdyao2Kqitzr1kiRg&v=3.exp&libraries=geometry,drawing,places", + googleMapURL: "https://maps.googleapis.com/maps/api/js?key=AIzaSyDDe44e1ctJvBUEKGeHp9TbuulZ0C6Dh0A&v=3.exp&libraries=geometry,drawing,places", loadingElement:
, containerElement:
, mapElement:
, diff --git a/src/components/FusionTablesLayer.md b/src/components/FusionTablesLayer.md index 89aa0121..a584f8c9 100644 --- a/src/components/FusionTablesLayer.md +++ b/src/components/FusionTablesLayer.md @@ -11,7 +11,7 @@ const { const MapWithAFusionTablesLayer = compose( withProps({ - googleMapURL: "https://maps.googleapis.com/maps/api/js?key=AIzaSyC4R6AN7SmujjPUIGKdyao2Kqitzr1kiRg&v=3.exp&libraries=geometry,drawing,places", + googleMapURL: "https://maps.googleapis.com/maps/api/js?key=AIzaSyDDe44e1ctJvBUEKGeHp9TbuulZ0C6Dh0A&v=3.exp&libraries=geometry,drawing,places", loadingElement:
, containerElement:
, mapElement:
, diff --git a/src/components/GoogleMap.md b/src/components/GoogleMap.md index d0277c06..2861fe34 100644 --- a/src/components/GoogleMap.md +++ b/src/components/GoogleMap.md @@ -13,7 +13,7 @@ const { const MapWithControlledZoom = compose( withProps({ - googleMapURL: "https://maps.googleapis.com/maps/api/js?key=AIzaSyC4R6AN7SmujjPUIGKdyao2Kqitzr1kiRg&v=3.exp&libraries=geometry,drawing,places", + googleMapURL: "https://maps.googleapis.com/maps/api/js?key=AIzaSyDDe44e1ctJvBUEKGeHp9TbuulZ0C6Dh0A&v=3.exp&libraries=geometry,drawing,places", loadingElement:
, containerElement:
, mapElement:
, diff --git a/src/components/GroundOverlay.md b/src/components/GroundOverlay.md index 3d64ffac..5b660c2c 100644 --- a/src/components/GroundOverlay.md +++ b/src/components/GroundOverlay.md @@ -29,7 +29,7 @@ const MapWithGroundOverlay = compose( ); } containerElement={
} mapElement={
} diff --git a/src/components/InfoWindow.md b/src/components/InfoWindow.md index 850277f5..9281ff0c 100644 --- a/src/components/InfoWindow.md +++ b/src/components/InfoWindow.md @@ -38,7 +38,7 @@ const MapWithAMakredInfoWindow = compose( ); } containerElement={
} mapElement={
} diff --git a/src/components/KmlLayer.md b/src/components/KmlLayer.md index 7a94a8c4..2b7df591 100644 --- a/src/components/KmlLayer.md +++ b/src/components/KmlLayer.md @@ -11,7 +11,7 @@ const { const MapWithAKmlLayer = compose( withProps({ - googleMapURL: "https://maps.googleapis.com/maps/api/js?key=AIzaSyC4R6AN7SmujjPUIGKdyao2Kqitzr1kiRg&v=3.exp&libraries=geometry,drawing,places", + googleMapURL: "https://maps.googleapis.com/maps/api/js?key=AIzaSyDDe44e1ctJvBUEKGeHp9TbuulZ0C6Dh0A&v=3.exp&libraries=geometry,drawing,places", loadingElement:
, containerElement:
, mapElement:
, diff --git a/src/components/Marker.md b/src/components/Marker.md index 64b8c572..b96f15d7 100644 --- a/src/components/Marker.md +++ b/src/components/Marker.md @@ -24,7 +24,7 @@ const MapWithAMarker = compose( ); } containerElement={
} mapElement={
} diff --git a/src/components/OverlayView.md b/src/components/OverlayView.md index 6a7516e2..3d8193dd 100644 --- a/src/components/OverlayView.md +++ b/src/components/OverlayView.md @@ -67,7 +67,7 @@ const MapWithAnOverlayView = compose( ); } containerElement={
} mapElement={
} diff --git a/src/components/StreetViewPanorama.md b/src/components/StreetViewPanorama.md index ae00946a..f136a4ac 100644 --- a/src/components/StreetViewPanorama.md +++ b/src/components/StreetViewPanorama.md @@ -18,7 +18,7 @@ const getPixelPositionOffset = (width, height) => ({ const StreetViewPanormaWithAnOverlayView = compose( withProps({ - googleMapURL: "https://maps.googleapis.com/maps/api/js?key=AIzaSyC4R6AN7SmujjPUIGKdyao2Kqitzr1kiRg&v=3.exp&libraries=geometry,drawing,places", + googleMapURL: "https://maps.googleapis.com/maps/api/js?key=AIzaSyDDe44e1ctJvBUEKGeHp9TbuulZ0C6Dh0A&v=3.exp&libraries=geometry,drawing,places", loadingElement:
, containerElement:
, mapElement:
, diff --git a/src/components/TrafficLayer.md b/src/components/TrafficLayer.md index b396da6b..c6ceb2e4 100644 --- a/src/components/TrafficLayer.md +++ b/src/components/TrafficLayer.md @@ -11,7 +11,7 @@ const { const MapWithATrafficLayer = compose( withProps({ - googleMapURL: "https://maps.googleapis.com/maps/api/js?key=AIzaSyC4R6AN7SmujjPUIGKdyao2Kqitzr1kiRg&v=3.exp&libraries=geometry,drawing,places", + googleMapURL: "https://maps.googleapis.com/maps/api/js?key=AIzaSyDDe44e1ctJvBUEKGeHp9TbuulZ0C6Dh0A&v=3.exp&libraries=geometry,drawing,places", loadingElement:
, containerElement:
, mapElement:
, diff --git a/src/components/addons/InfoBox.md b/src/components/addons/InfoBox.md index 5d19c882..31653ab6 100644 --- a/src/components/addons/InfoBox.md +++ b/src/components/addons/InfoBox.md @@ -12,7 +12,7 @@ const demoFancyMapStyles = require("./demoFancyMapStyles.json"); const StyledMapWithAnInfoBox = compose( withProps({ - googleMapURL: "https://maps.googleapis.com/maps/api/js?key=AIzaSyC4R6AN7SmujjPUIGKdyao2Kqitzr1kiRg&v=3.exp&libraries=geometry,drawing,places", + googleMapURL: "https://maps.googleapis.com/maps/api/js?key=AIzaSyDDe44e1ctJvBUEKGeHp9TbuulZ0C6Dh0A&v=3.exp&libraries=geometry,drawing,places", loadingElement:
, containerElement:
, mapElement:
, diff --git a/src/components/addons/MarkerClusterer.md b/src/components/addons/MarkerClusterer.md index bf0e1759..fcf1d8c2 100644 --- a/src/components/addons/MarkerClusterer.md +++ b/src/components/addons/MarkerClusterer.md @@ -13,7 +13,7 @@ const { MarkerClusterer } = require("react-google-maps/lib/components/addons/Mar const MapWithAMarkerClusterer = compose( withProps({ - googleMapURL: "https://maps.googleapis.com/maps/api/js?key=AIzaSyC4R6AN7SmujjPUIGKdyao2Kqitzr1kiRg&v=3.exp&libraries=geometry,drawing,places", + googleMapURL: "https://maps.googleapis.com/maps/api/js?key=AIzaSyDDe44e1ctJvBUEKGeHp9TbuulZ0C6Dh0A&v=3.exp&libraries=geometry,drawing,places", loadingElement:
, containerElement:
, mapElement:
, diff --git a/src/components/addons/MarkerWithLabel.md b/src/components/addons/MarkerWithLabel.md index 063951bd..81aa9a06 100644 --- a/src/components/addons/MarkerWithLabel.md +++ b/src/components/addons/MarkerWithLabel.md @@ -28,7 +28,7 @@ const MapWithAMarkerWithLabel = compose( ); } containerElement={
} mapElement={
} diff --git a/src/components/drawing/DrawingManager.md b/src/components/drawing/DrawingManager.md index 60ea142c..03358b55 100644 --- a/src/components/drawing/DrawingManager.md +++ b/src/components/drawing/DrawingManager.md @@ -11,7 +11,7 @@ const { DrawingManager } = require("react-google-maps/lib/components/drawing/Dra const MapWithADrawingManager = compose( withProps({ - googleMapURL: "https://maps.googleapis.com/maps/api/js?key=AIzaSyC4R6AN7SmujjPUIGKdyao2Kqitzr1kiRg&v=3.exp&libraries=geometry,drawing,places", + googleMapURL: "https://maps.googleapis.com/maps/api/js?key=AIzaSyDDe44e1ctJvBUEKGeHp9TbuulZ0C6Dh0A&v=3.exp&libraries=geometry,drawing,places", loadingElement:
, containerElement:
, mapElement:
, diff --git a/src/components/places/SearchBox.md b/src/components/places/SearchBox.md index dd1dc3be..2bf9a8bf 100644 --- a/src/components/places/SearchBox.md +++ b/src/components/places/SearchBox.md @@ -13,7 +13,7 @@ const { SearchBox } = require("react-google-maps/lib/components/places/SearchBox const MapWithASearchBox = compose( withProps({ - googleMapURL: "https://maps.googleapis.com/maps/api/js?key=AIzaSyC4R6AN7SmujjPUIGKdyao2Kqitzr1kiRg&v=3.exp&libraries=geometry,drawing,places", + googleMapURL: "https://maps.googleapis.com/maps/api/js?key=AIzaSyDDe44e1ctJvBUEKGeHp9TbuulZ0C6Dh0A&v=3.exp&libraries=geometry,drawing,places", loadingElement:
, containerElement:
, mapElement:
, diff --git a/src/components/places/StandaloneSearchBox.md b/src/components/places/StandaloneSearchBox.md index 1112611f..7b14f816 100644 --- a/src/components/places/StandaloneSearchBox.md +++ b/src/components/places/StandaloneSearchBox.md @@ -9,7 +9,7 @@ const { StandaloneSearchBox } = require("react-google-maps/lib/components/places const PlacesWithStandaloneSearchBox = compose( withProps({ - googleMapURL: "https://maps.googleapis.com/maps/api/js?key=AIzaSyC4R6AN7SmujjPUIGKdyao2Kqitzr1kiRg&v=3.exp&libraries=geometry,drawing,places", + googleMapURL: "https://maps.googleapis.com/maps/api/js?key=AIzaSyDDe44e1ctJvBUEKGeHp9TbuulZ0C6Dh0A&v=3.exp&libraries=geometry,drawing,places", loadingElement:
, containerElement:
, }), diff --git a/src/withScriptjs.md b/src/withScriptjs.md index da93682d..ee1eac3b 100644 --- a/src/withScriptjs.md +++ b/src/withScriptjs.md @@ -25,7 +25,7 @@ const MapWithAMarker = withScriptjs(withGoogleMap(props => )); } containerElement={
} mapElement={
}