react-google-maps
Advanced tools
Comparing version 8.3.4 to 8.3.5
@@ -5,2 +5,7 @@ # Change Log | ||
<a name="8.3.5"></a> | ||
## [8.3.5](https://github.com/tomchentw/react-google-maps/compare/v8.3.4...v8.3.5) (2017-10-06) | ||
<a name="8.3.4"></a> | ||
@@ -7,0 +12,0 @@ ## [8.3.4](https://github.com/tomchentw/react-google-maps/compare/v8.3.3...v8.3.4) (2017-10-03) |
@@ -53,2 +53,8 @@ "use strict" | ||
*/ | ||
/* | ||
* ----------------------------------------------------------------------------- | ||
* This file is auto-generated from the corresponding file at `src/macros/`. | ||
* Please **DO NOT** edit this file directly when creating PRs. | ||
* ----------------------------------------------------------------------------- | ||
*/ | ||
/* global google */ | ||
@@ -125,3 +131,3 @@ var Circle = (exports.Circle = (function(_React$PureComponent) { | ||
/** | ||
* Gets the LatLngBounds of this Circle. | ||
* Gets the `LatLngBounds` of this Circle. | ||
* @type LatLngBoundsLatLngBounds | ||
@@ -128,0 +134,0 @@ * @public |
@@ -53,2 +53,8 @@ "use strict" | ||
*/ | ||
/* | ||
* ----------------------------------------------------------------------------- | ||
* This file is auto-generated from the corresponding file at `src/macros/`. | ||
* Please **DO NOT** edit this file directly when creating PRs. | ||
* ----------------------------------------------------------------------------- | ||
*/ | ||
/* global google */ | ||
@@ -141,3 +147,3 @@ var DirectionsRenderer = (exports.DirectionsRenderer = (function( | ||
/** | ||
* Returns the panel <div> in which the DirectionsResult is rendered. | ||
* Returns the panel `<div>` in which the `DirectionsResult` is rendered. | ||
* @type Node<div>DirectionsResult | ||
@@ -154,3 +160,3 @@ * @public | ||
/** | ||
* Returns the current (zero-based) route index in use by this DirectionsRenderer object. | ||
* Returns the current (zero-based) route index in use by this `DirectionsRenderer` object. | ||
* @type numberDirectionsRenderer | ||
@@ -157,0 +163,0 @@ * @public |
@@ -132,3 +132,3 @@ "use strict" | ||
/** | ||
* Returns the DrawingManager's drawing mode. | ||
* Returns the `DrawingManager`'s drawing mode. | ||
* @type OverlayTypeDrawingManager | ||
@@ -146,3 +146,11 @@ * @public | ||
return DrawingManager | ||
})(_react2.default.PureComponent)) /* global google */ | ||
})( | ||
_react2.default.PureComponent | ||
)) /* | ||
* ----------------------------------------------------------------------------- | ||
* This file is auto-generated from the corresponding file at `src/macros/`. | ||
* Please **DO NOT** edit this file directly when creating PRs. | ||
* ----------------------------------------------------------------------------- | ||
*/ | ||
/* global google */ | ||
@@ -149,0 +157,0 @@ DrawingManager.propTypes = { |
@@ -53,2 +53,8 @@ "use strict" | ||
*/ | ||
/* | ||
* ----------------------------------------------------------------------------- | ||
* This file is auto-generated from the corresponding file at `src/macros/`. | ||
* Please **DO NOT** edit this file directly when creating PRs. | ||
* ----------------------------------------------------------------------------- | ||
*/ | ||
/* global google */ | ||
@@ -55,0 +61,0 @@ var FusionTablesLayer = (exports.FusionTablesLayer = (function( |
@@ -193,3 +193,3 @@ "use strict" | ||
/** | ||
* Returns the lat/lng bounds of the current viewport. If more than one copy of the world is visible, the bounds range in longitude from -180 to 180 degrees inclusive. If the map is not yet initialized (i.e. the mapType is still null), or center and zoom have not been set then the result is null or undefined. | ||
* Returns the lat/lng bounds of the current viewport. If more than one copy of the world is visible, the bounds range in longitude from -180 to 180 degrees inclusive. If the map is not yet initialized (i.e. the mapType is still null), or center and zoom have not been set then the result is `null` or `undefined`. | ||
* @type LatLngBoundsnullundefined | ||
@@ -206,3 +206,3 @@ * @public | ||
/** | ||
* Returns the position displayed at the center of the map. Note that this LatLng object is not wrapped. See LatLng for more information. | ||
* Returns the position displayed at the center of the map. Note that this `LatLng` object is _not_ wrapped. See `[LatLng](#LatLng)` for more information. | ||
* @type LatLngLatLngLatLng | ||
@@ -267,3 +267,3 @@ * @public | ||
/** | ||
* Returns the current Projection. If the map is not yet initialized (i.e. the mapType is still null) then the result is null. Listen to projection_changed and check its value to ensure it is not null. | ||
* Returns the current `Projection`. If the map is not yet initialized (i.e. the mapType is still null) then the result is null. Listen to `projection_changed` and check its value to ensure it is not null. | ||
* @type ProjectionProjectionprojection_changed | ||
@@ -280,3 +280,3 @@ * @public | ||
/** | ||
* Returns the default StreetViewPanorama bound to the map, which may be a default panorama embedded within the map, or the panorama set using setStreetView(). Changes to the map's streetViewControl will be reflected in the display of such a bound panorama. | ||
* Returns the default `StreetViewPanorama` bound to the map, which may be a default panorama embedded within the map, or the panorama set using `setStreetView()`. Changes to the map's `streetViewControl` will be reflected in the display of such a bound panorama. | ||
* @type StreetViewPanoramaStreetViewPanoramasetStreetView()streetViewControl | ||
@@ -293,3 +293,3 @@ * @public | ||
/** | ||
* Returns the current angle of incidence of the map, in degrees from the viewport plane to the map plane. The result will be 0 for imagery taken directly overhead or 45 for 45° imagery. 45° imagery is only available for satellite and hybrid map types, within some locations, and at some zoom levels. Note: This method does not return the value set by setTilt. See setTilt for details. | ||
* Returns the current angle of incidence of the map, in degrees from the viewport plane to the map plane. The result will be `0` for imagery taken directly overhead or `45` for 45° imagery. 45° imagery is only available for `satellite` and `hybrid` map types, within some locations, and at some zoom levels. **Note:** This method does not return the value set by `setTilt`. See `setTilt` for details. | ||
* @type number045satellitehybridsetTiltsetTilt | ||
@@ -319,3 +319,10 @@ * @public | ||
return Map | ||
})(_react2.default.PureComponent)) | ||
})( | ||
_react2.default.PureComponent | ||
)) /* | ||
* ----------------------------------------------------------------------------- | ||
* This file is auto-generated from the corresponding file at `src/macros/`. | ||
* Please **DO NOT** edit this file directly when creating PRs. | ||
* ----------------------------------------------------------------------------- | ||
*/ | ||
@@ -322,0 +329,0 @@ Map.displayName = "GoogleMap" |
@@ -53,2 +53,8 @@ "use strict" | ||
*/ | ||
/* | ||
* ----------------------------------------------------------------------------- | ||
* This file is auto-generated from the corresponding file at `src/macros/`. | ||
* Please **DO NOT** edit this file directly when creating PRs. | ||
* ----------------------------------------------------------------------------- | ||
*/ | ||
/* global google */ | ||
@@ -126,3 +132,3 @@ var GroundOverlay = (exports.GroundOverlay = (function(_React$PureComponent) { | ||
/** | ||
* Gets the LatLngBounds of this overlay. | ||
* Gets the `LatLngBounds` of this overlay. | ||
* @type LatLngBoundsLatLngBounds | ||
@@ -129,0 +135,0 @@ * @public |
@@ -34,3 +34,9 @@ "use strict" | ||
var _InfoWindow$contextTy /* global google */ | ||
var _InfoWindow$contextTy /* | ||
* ----------------------------------------------------------------------------- | ||
* This file is auto-generated from the corresponding file at `src/macros/`. | ||
* Please **DO NOT** edit this file directly when creating PRs. | ||
* ----------------------------------------------------------------------------- | ||
*/ | ||
/* global google */ | ||
@@ -37,0 +43,0 @@ var _invariant = require("invariant") |
@@ -53,2 +53,8 @@ "use strict" | ||
*/ | ||
/* | ||
* ----------------------------------------------------------------------------- | ||
* This file is auto-generated from the corresponding file at `src/macros/`. | ||
* Please **DO NOT** edit this file directly when creating PRs. | ||
* ----------------------------------------------------------------------------- | ||
*/ | ||
/* global google */ | ||
@@ -55,0 +61,0 @@ var KmlLayer = (exports.KmlLayer = (function(_React$PureComponent) { |
@@ -34,3 +34,9 @@ "use strict" | ||
var _Marker$contextTypes /* global google */ | ||
var _Marker$contextTypes /* | ||
* ----------------------------------------------------------------------------- | ||
* This file is auto-generated from the corresponding file at `src/macros/`. | ||
* Please **DO NOT** edit this file directly when creating PRs. | ||
* ----------------------------------------------------------------------------- | ||
*/ | ||
/* global google */ | ||
@@ -37,0 +43,0 @@ var _react = require("react") |
@@ -50,3 +50,9 @@ "use strict" | ||
var _OverlayView$contextT /* global google */ | ||
var _OverlayView$contextT /* | ||
* ----------------------------------------------------------------------------- | ||
* This file is auto-generated from the corresponding file at `src/macros/`. | ||
* Please **DO NOT** edit this file directly when creating PRs. | ||
* ----------------------------------------------------------------------------- | ||
*/ | ||
/* global google */ | ||
@@ -225,3 +231,3 @@ var _invariant = require("invariant") | ||
/** | ||
* Returns the panes in which this OverlayView can be rendered. The panes are not initialized until onAdd is called by the API. | ||
* Returns the panes in which this OverlayView can be rendered. The panes are not initialized until `onAdd` is called by the API. | ||
* @type MapPanesonAdd | ||
@@ -238,3 +244,3 @@ * @public | ||
/** | ||
* Returns the MapCanvasProjection object associated with this OverlayView. The projection is not initialized until onAdd is called by the API. | ||
* Returns the `MapCanvasProjection` object associated with this `OverlayView`. The projection is not initialized until `onAdd` is called by the API. | ||
* @type MapCanvasProjectionMapCanvasProjectionOverlayViewonAdd | ||
@@ -241,0 +247,0 @@ * @public |
@@ -238,3 +238,3 @@ "use strict" | ||
/** | ||
* Returns the query selected by the user, or null if no places have been found yet, to be used with places_changed event. | ||
* Returns the query selected by the user, or `null` if no places have been found yet, to be used with `places_changed` event. | ||
* @type Array<PlaceResult>nullplaces_changed | ||
@@ -252,3 +252,11 @@ * @public | ||
return SearchBox | ||
})(_react2.default.PureComponent)) /* global google */ | ||
})( | ||
_react2.default.PureComponent | ||
)) /* | ||
* ----------------------------------------------------------------------------- | ||
* This file is auto-generated from the corresponding file at `src/macros/`. | ||
* Please **DO NOT** edit this file directly when creating PRs. | ||
* ----------------------------------------------------------------------------- | ||
*/ | ||
/* global google */ | ||
@@ -255,0 +263,0 @@ SearchBox.propTypes = { |
@@ -61,2 +61,8 @@ "use strict" | ||
*/ | ||
/* | ||
* ----------------------------------------------------------------------------- | ||
* This file is auto-generated from the corresponding file at `src/macros/`. | ||
* Please **DO NOT** edit this file directly when creating PRs. | ||
* ----------------------------------------------------------------------------- | ||
*/ | ||
/* global google */ | ||
@@ -165,3 +171,3 @@ var SearchBox = (function(_React$PureComponent) { | ||
/** | ||
* Returns the query selected by the user, or null if no places have been found yet, to be used with places_changed event. | ||
* Returns the query selected by the user, or `null` if no places have been found yet, to be used with `places_changed` event. | ||
* @type Array<PlaceResult>nullplaces_changed | ||
@@ -168,0 +174,0 @@ * @public |
@@ -53,2 +53,8 @@ "use strict" | ||
*/ | ||
/* | ||
* ----------------------------------------------------------------------------- | ||
* This file is auto-generated from the corresponding file at `src/macros/`. | ||
* Please **DO NOT** edit this file directly when creating PRs. | ||
* ----------------------------------------------------------------------------- | ||
*/ | ||
/* global google */ | ||
@@ -55,0 +61,0 @@ var Polygon = (exports.Polygon = (function(_React$PureComponent) { |
@@ -53,2 +53,8 @@ "use strict" | ||
*/ | ||
/* | ||
* ----------------------------------------------------------------------------- | ||
* This file is auto-generated from the corresponding file at `src/macros/`. | ||
* Please **DO NOT** edit this file directly when creating PRs. | ||
* ----------------------------------------------------------------------------- | ||
*/ | ||
/* global google */ | ||
@@ -55,0 +61,0 @@ var Polyline = (exports.Polyline = (function(_React$PureComponent) { |
@@ -53,2 +53,8 @@ "use strict" | ||
*/ | ||
/* | ||
* ----------------------------------------------------------------------------- | ||
* This file is auto-generated from the corresponding file at `src/macros/`. | ||
* Please **DO NOT** edit this file directly when creating PRs. | ||
* ----------------------------------------------------------------------------- | ||
*/ | ||
/* global google */ | ||
@@ -55,0 +61,0 @@ var Rectangle = (exports.Rectangle = (function(_React$PureComponent) { |
@@ -185,3 +185,3 @@ "use strict" | ||
/** | ||
* Returns the heading and pitch of the photographer when this panorama was taken. For Street View panoramas on the road, this also reveals in which direction the car was travelling. This data is available after the pano_changed event. | ||
* Returns the heading and pitch of the photographer when this panorama was taken. For Street View panoramas on the road, this also reveals in which direction the car was travelling. This data is available after the `pano_changed` event. | ||
* @type StreetViewPovpano_changed | ||
@@ -198,3 +198,3 @@ * @public | ||
/** | ||
* Returns the current LatLng position for the Street View panorama. | ||
* Returns the current `LatLng` position for the Street View panorama. | ||
* @type LatLngLatLng | ||
@@ -223,3 +223,3 @@ * @public | ||
/** | ||
* Returns the status of the panorama on completion of the setPosition() or setPano() request. | ||
* Returns the status of the panorama on completion of the `setPosition()` or `setPano()` request. | ||
* @type StreetViewStatussetPosition()setPano() | ||
@@ -236,3 +236,3 @@ * @public | ||
/** | ||
* Returns true if the panorama is visible. It does not specify whether Street View imagery is available at the specified position. | ||
* Returns `true` if the panorama is visible. It does not specify whether Street View imagery is available at the specified position. | ||
* @type booleantrue | ||
@@ -262,3 +262,10 @@ * @public | ||
return StreetViewPanorama | ||
})(_react2.default.PureComponent)) | ||
})( | ||
_react2.default.PureComponent | ||
)) /* | ||
* ----------------------------------------------------------------------------- | ||
* This file is auto-generated from the corresponding file at `src/macros/`. | ||
* Please **DO NOT** edit this file directly when creating PRs. | ||
* ----------------------------------------------------------------------------- | ||
*/ | ||
@@ -265,0 +272,0 @@ StreetViewPanorama.propTypes = { |
@@ -53,2 +53,8 @@ "use strict" | ||
*/ | ||
/* | ||
* ----------------------------------------------------------------------------- | ||
* This file is auto-generated from the corresponding file at `src/macros/`. | ||
* Please **DO NOT** edit this file directly when creating PRs. | ||
* ----------------------------------------------------------------------------- | ||
*/ | ||
/* global google */ | ||
@@ -55,0 +61,0 @@ var TrafficLayer = (exports.TrafficLayer = (function(_React$PureComponent) { |
@@ -145,3 +145,11 @@ "use strict" | ||
return HeatmapLayer | ||
})(_react2.default.PureComponent)) /* global google */ | ||
})( | ||
_react2.default.PureComponent | ||
)) /* | ||
* ----------------------------------------------------------------------------- | ||
* This file is auto-generated from the corresponding file at `src/macros/`. | ||
* Please **DO NOT** edit this file directly when creating PRs. | ||
* ----------------------------------------------------------------------------- | ||
*/ | ||
/* global google */ | ||
@@ -148,0 +156,0 @@ HeatmapLayer.propTypes = { |
{ | ||
"name": "react-google-maps", | ||
"version": "8.3.4", | ||
"version": "8.3.5", | ||
"description": "React.js Google Maps integration component", | ||
@@ -109,3 +109,4 @@ "main": "lib/index.js", | ||
"rimraf": "^2.6.2", | ||
"standard-version": "^4.2.0" | ||
"standard-version": "^4.2.0", | ||
"to-markdown": "^3.1.0" | ||
}, | ||
@@ -112,0 +113,0 @@ "dependencies": { |
@@ -15,3 +15,3 @@ ### Usage | ||
withProps({ | ||
googleMapURL: "https://maps.googleapis.com/maps/api/js?v=3.exp&libraries=geometry,drawing,places", | ||
googleMapURL: "https://maps.googleapis.com/maps/api/js?key=AIzaSyC4R6AN7SmujjPUIGKdyao2Kqitzr1kiRg&v=3.exp&libraries=geometry,drawing,places", | ||
loadingElement: <div style={{ height: `100%` }} />, | ||
@@ -60,3 +60,3 @@ containerElement: <div style={{ height: `400px` }} />, | ||
withProps({ | ||
googleMapURL: "https://maps.googleapis.com/maps/api/js?v=3.exp&libraries=geometry,drawing,places", | ||
googleMapURL: "https://maps.googleapis.com/maps/api/js?key=AIzaSyC4R6AN7SmujjPUIGKdyao2Kqitzr1kiRg&v=3.exp&libraries=geometry,drawing,places", | ||
loadingElement: <div style={{ height: `100%` }} />, | ||
@@ -63,0 +63,0 @@ containerElement: <div style={{ height: `400px` }} />, |
@@ -17,3 +17,3 @@ ### Usage | ||
withProps({ | ||
googleMapURL: "https://maps.googleapis.com/maps/api/js?v=3.exp&libraries=geometry,drawing,places", | ||
googleMapURL: "https://maps.googleapis.com/maps/api/js?key=AIzaSyC4R6AN7SmujjPUIGKdyao2Kqitzr1kiRg&v=3.exp&libraries=geometry,drawing,places", | ||
loadingElement: <div style={{ height: `100%` }} />, | ||
@@ -90,3 +90,3 @@ containerElement: <div style={{ height: `400px` }} />, | ||
withProps({ | ||
googleMapURL: "https://maps.googleapis.com/maps/api/js?v=3.exp&libraries=geometry,drawing,places", | ||
googleMapURL: "https://maps.googleapis.com/maps/api/js?key=AIzaSyC4R6AN7SmujjPUIGKdyao2Kqitzr1kiRg&v=3.exp&libraries=geometry,drawing,places", | ||
loadingElement: <div style={{ height: `100%` }} />, | ||
@@ -93,0 +93,0 @@ containerElement: <div style={{ height: `400px` }} />, |
@@ -0,1 +1,7 @@ | ||
/* | ||
* ----------------------------------------------------------------------------- | ||
* This file is auto-generated from the corresponding file at `src/macros/`. | ||
* Please **DO NOT** edit this file directly when creating PRs. | ||
* ----------------------------------------------------------------------------- | ||
*/ | ||
/* global google */ | ||
@@ -189,3 +195,3 @@ import React from "react" | ||
/** | ||
* Gets the LatLngBounds of this Circle. | ||
* Gets the `LatLngBounds` of this Circle. | ||
* @type LatLngBoundsLatLngBounds | ||
@@ -192,0 +198,0 @@ * @public |
@@ -0,1 +1,7 @@ | ||
/* | ||
* ----------------------------------------------------------------------------- | ||
* This file is auto-generated from the corresponding file at `src/macros/`. | ||
* Please **DO NOT** edit this file directly when creating PRs. | ||
* ----------------------------------------------------------------------------- | ||
*/ | ||
/* global google */ | ||
@@ -123,3 +129,3 @@ import React from "react" | ||
/** | ||
* Returns the panel <div> in which the DirectionsResult is rendered. | ||
* Returns the panel `<div>` in which the `DirectionsResult` is rendered. | ||
* @type Node<div>DirectionsResult | ||
@@ -133,3 +139,3 @@ * @public | ||
/** | ||
* Returns the current (zero-based) route index in use by this DirectionsRenderer object. | ||
* Returns the current (zero-based) route index in use by this `DirectionsRenderer` object. | ||
* @type numberDirectionsRenderer | ||
@@ -136,0 +142,0 @@ * @public |
@@ -14,3 +14,3 @@ ### Usage | ||
withProps({ | ||
googleMapURL: "https://maps.googleapis.com/maps/api/js?v=3.exp&libraries=geometry,drawing,places", | ||
googleMapURL: "https://maps.googleapis.com/maps/api/js?key=AIzaSyC4R6AN7SmujjPUIGKdyao2Kqitzr1kiRg&v=3.exp&libraries=geometry,drawing,places", | ||
loadingElement: <div style={{ height: `100%` }} />, | ||
@@ -66,3 +66,3 @@ containerElement: <div style={{ height: `400px` }} />, | ||
withProps({ | ||
googleMapURL: "https://maps.googleapis.com/maps/api/js?v=3.exp&libraries=geometry,drawing,places", | ||
googleMapURL: "https://maps.googleapis.com/maps/api/js?key=AIzaSyC4R6AN7SmujjPUIGKdyao2Kqitzr1kiRg&v=3.exp&libraries=geometry,drawing,places", | ||
loadingElement: <div style={{ height: `100%` }} />, | ||
@@ -69,0 +69,0 @@ containerElement: <div style={{ height: `400px` }} />, |
@@ -0,1 +1,7 @@ | ||
/* | ||
* ----------------------------------------------------------------------------- | ||
* This file is auto-generated from the corresponding file at `src/macros/`. | ||
* Please **DO NOT** edit this file directly when creating PRs. | ||
* ----------------------------------------------------------------------------- | ||
*/ | ||
/* global google */ | ||
@@ -119,3 +125,3 @@ import invariant from "invariant" | ||
/** | ||
* Returns the DrawingManager's drawing mode. | ||
* Returns the `DrawingManager`'s drawing mode. | ||
* @type OverlayTypeDrawingManager | ||
@@ -122,0 +128,0 @@ * @public |
@@ -14,3 +14,3 @@ ### Usage | ||
withProps({ | ||
googleMapURL: "https://maps.googleapis.com/maps/api/js?v=3.exp&libraries=geometry,drawing,places", | ||
googleMapURL: "https://maps.googleapis.com/maps/api/js?key=AIzaSyC4R6AN7SmujjPUIGKdyao2Kqitzr1kiRg&v=3.exp&libraries=geometry,drawing,places", | ||
loadingElement: <div style={{ height: `100%` }} />, | ||
@@ -69,3 +69,3 @@ containerElement: <div style={{ height: `400px` }} />, | ||
withProps({ | ||
googleMapURL: "https://maps.googleapis.com/maps/api/js?v=3.exp&libraries=geometry,drawing,places", | ||
googleMapURL: "https://maps.googleapis.com/maps/api/js?key=AIzaSyC4R6AN7SmujjPUIGKdyao2Kqitzr1kiRg&v=3.exp&libraries=geometry,drawing,places", | ||
loadingElement: <div style={{ height: `100%` }} />, | ||
@@ -72,0 +72,0 @@ containerElement: <div style={{ height: `400px` }} />, |
@@ -0,1 +1,7 @@ | ||
/* | ||
* ----------------------------------------------------------------------------- | ||
* This file is auto-generated from the corresponding file at `src/macros/`. | ||
* Please **DO NOT** edit this file directly when creating PRs. | ||
* ----------------------------------------------------------------------------- | ||
*/ | ||
/* global google */ | ||
@@ -2,0 +8,0 @@ import React from "react" |
@@ -14,3 +14,3 @@ ### Usage | ||
withProps({ | ||
googleMapURL: "https://maps.googleapis.com/maps/api/js?v=3.exp&libraries=geometry,drawing,places", | ||
googleMapURL: "https://maps.googleapis.com/maps/api/js?key=AIzaSyC4R6AN7SmujjPUIGKdyao2Kqitzr1kiRg&v=3.exp&libraries=geometry,drawing,places", | ||
loadingElement: <div style={{ height: `100%` }} />, | ||
@@ -55,3 +55,3 @@ containerElement: <div style={{ height: `400px` }} />, | ||
withProps({ | ||
googleMapURL: "https://maps.googleapis.com/maps/api/js?v=3.exp&libraries=geometry,drawing,places", | ||
googleMapURL: "https://maps.googleapis.com/maps/api/js?key=AIzaSyC4R6AN7SmujjPUIGKdyao2Kqitzr1kiRg&v=3.exp&libraries=geometry,drawing,places", | ||
loadingElement: <div style={{ height: `100%` }} />, | ||
@@ -58,0 +58,0 @@ containerElement: <div style={{ height: `400px` }} />, |
@@ -0,1 +1,7 @@ | ||
/* | ||
* ----------------------------------------------------------------------------- | ||
* This file is auto-generated from the corresponding file at `src/macros/`. | ||
* Please **DO NOT** edit this file directly when creating PRs. | ||
* ----------------------------------------------------------------------------- | ||
*/ | ||
import invariant from "invariant" | ||
@@ -263,3 +269,3 @@ import React from "react" | ||
/** | ||
* Returns the lat/lng bounds of the current viewport. If more than one copy of the world is visible, the bounds range in longitude from -180 to 180 degrees inclusive. If the map is not yet initialized (i.e. the mapType is still null), or center and zoom have not been set then the result is null or undefined. | ||
* Returns the lat/lng bounds of the current viewport. If more than one copy of the world is visible, the bounds range in longitude from -180 to 180 degrees inclusive. If the map is not yet initialized (i.e. the mapType is still null), or center and zoom have not been set then the result is `null` or `undefined`. | ||
* @type LatLngBoundsnullundefined | ||
@@ -273,3 +279,3 @@ * @public | ||
/** | ||
* Returns the position displayed at the center of the map. Note that this LatLng object is not wrapped. See LatLng for more information. | ||
* Returns the position displayed at the center of the map. Note that this `LatLng` object is _not_ wrapped. See `[LatLng](#LatLng)` for more information. | ||
* @type LatLngLatLngLatLng | ||
@@ -319,3 +325,3 @@ * @public | ||
/** | ||
* Returns the current Projection. If the map is not yet initialized (i.e. the mapType is still null) then the result is null. Listen to projection_changed and check its value to ensure it is not null. | ||
* Returns the current `Projection`. If the map is not yet initialized (i.e. the mapType is still null) then the result is null. Listen to `projection_changed` and check its value to ensure it is not null. | ||
* @type ProjectionProjectionprojection_changed | ||
@@ -329,3 +335,3 @@ * @public | ||
/** | ||
* Returns the default StreetViewPanorama bound to the map, which may be a default panorama embedded within the map, or the panorama set using setStreetView(). Changes to the map's streetViewControl will be reflected in the display of such a bound panorama. | ||
* Returns the default `StreetViewPanorama` bound to the map, which may be a default panorama embedded within the map, or the panorama set using `setStreetView()`. Changes to the map's `streetViewControl` will be reflected in the display of such a bound panorama. | ||
* @type StreetViewPanoramaStreetViewPanoramasetStreetView()streetViewControl | ||
@@ -339,3 +345,3 @@ * @public | ||
/** | ||
* Returns the current angle of incidence of the map, in degrees from the viewport plane to the map plane. The result will be 0 for imagery taken directly overhead or 45 for 45° imagery. 45° imagery is only available for satellite and hybrid map types, within some locations, and at some zoom levels. Note: This method does not return the value set by setTilt. See setTilt for details. | ||
* Returns the current angle of incidence of the map, in degrees from the viewport plane to the map plane. The result will be `0` for imagery taken directly overhead or `45` for 45° imagery. 45° imagery is only available for `satellite` and `hybrid` map types, within some locations, and at some zoom levels. **Note:** This method does not return the value set by `setTilt`. See `setTilt` for details. | ||
* @type number045satellitehybridsetTiltsetTilt | ||
@@ -342,0 +348,0 @@ * @public |
@@ -16,3 +16,3 @@ ### Usage | ||
withProps({ | ||
googleMapURL: "https://maps.googleapis.com/maps/api/js?v=3.exp&libraries=geometry,drawing,places", | ||
googleMapURL: "https://maps.googleapis.com/maps/api/js?key=AIzaSyC4R6AN7SmujjPUIGKdyao2Kqitzr1kiRg&v=3.exp&libraries=geometry,drawing,places", | ||
loadingElement: <div style={{ height: `100%` }} />, | ||
@@ -79,3 +79,3 @@ containerElement: <div style={{ height: `400px` }} />, | ||
withProps({ | ||
googleMapURL: "https://maps.googleapis.com/maps/api/js?v=3.exp&libraries=geometry,drawing,places", | ||
googleMapURL: "https://maps.googleapis.com/maps/api/js?key=AIzaSyC4R6AN7SmujjPUIGKdyao2Kqitzr1kiRg&v=3.exp&libraries=geometry,drawing,places", | ||
loadingElement: <div style={{ height: `100%` }} />, | ||
@@ -82,0 +82,0 @@ containerElement: <div style={{ height: `400px` }} />, |
@@ -0,1 +1,7 @@ | ||
/* | ||
* ----------------------------------------------------------------------------- | ||
* This file is auto-generated from the corresponding file at `src/macros/`. | ||
* Please **DO NOT** edit this file directly when creating PRs. | ||
* ----------------------------------------------------------------------------- | ||
*/ | ||
/* global google */ | ||
@@ -94,3 +100,3 @@ import React from "react" | ||
/** | ||
* Gets the LatLngBounds of this overlay. | ||
* Gets the `LatLngBounds` of this overlay. | ||
* @type LatLngBoundsLatLngBounds | ||
@@ -97,0 +103,0 @@ * @public |
@@ -70,3 +70,3 @@ ### Usage | ||
<MapWithGroundOverlay | ||
googleMapURL="https://maps.googleapis.com/maps/api/js?v=3.exp&libraries=geometry,drawing,places" | ||
googleMapURL="https://maps.googleapis.com/maps/api/js?key=AIzaSyC4R6AN7SmujjPUIGKdyao2Kqitzr1kiRg&v=3.exp&libraries=geometry,drawing,places" | ||
loadingElement={<div style={{ height: `100%` }} />} | ||
@@ -73,0 +73,0 @@ containerElement={<div style={{ height: `400px` }} />} |
@@ -0,1 +1,7 @@ | ||
/* | ||
* ----------------------------------------------------------------------------- | ||
* This file is auto-generated from the corresponding file at `src/macros/`. | ||
* Please **DO NOT** edit this file directly when creating PRs. | ||
* ----------------------------------------------------------------------------- | ||
*/ | ||
/* global google */ | ||
@@ -2,0 +8,0 @@ import invariant from "invariant" |
@@ -41,3 +41,3 @@ ### Usage | ||
<MapWithAMakredInfoWindow | ||
googleMapURL="https://maps.googleapis.com/maps/api/js?v=3.exp&libraries=geometry,drawing,places" | ||
googleMapURL="https://maps.googleapis.com/maps/api/js?key=AIzaSyC4R6AN7SmujjPUIGKdyao2Kqitzr1kiRg&v=3.exp&libraries=geometry,drawing,places" | ||
loadingElement={<div style={{ height: `100%` }} />} | ||
@@ -89,3 +89,3 @@ containerElement={<div style={{ height: `400px` }} />} | ||
<MapWithAMakredInfoWindow | ||
googleMapURL="https://maps.googleapis.com/maps/api/js?v=3.exp&libraries=geometry,drawing,places" | ||
googleMapURL="https://maps.googleapis.com/maps/api/js?key=AIzaSyC4R6AN7SmujjPUIGKdyao2Kqitzr1kiRg&v=3.exp&libraries=geometry,drawing,places" | ||
loadingElement={<div style={{ height: `100%` }} />} | ||
@@ -92,0 +92,0 @@ containerElement={<div style={{ height: `400px` }} />} |
@@ -0,1 +1,7 @@ | ||
/* | ||
* ----------------------------------------------------------------------------- | ||
* This file is auto-generated from the corresponding file at `src/macros/`. | ||
* Please **DO NOT** edit this file directly when creating PRs. | ||
* ----------------------------------------------------------------------------- | ||
*/ | ||
/* global google */ | ||
@@ -2,0 +8,0 @@ import React from "react" |
@@ -14,3 +14,3 @@ ### Usage | ||
withProps({ | ||
googleMapURL: "https://maps.googleapis.com/maps/api/js?v=3.exp&libraries=geometry,drawing,places", | ||
googleMapURL: "https://maps.googleapis.com/maps/api/js?key=AIzaSyC4R6AN7SmujjPUIGKdyao2Kqitzr1kiRg&v=3.exp&libraries=geometry,drawing,places", | ||
loadingElement: <div style={{ height: `100%` }} />, | ||
@@ -50,3 +50,3 @@ containerElement: <div style={{ height: `400px` }} />, | ||
withProps({ | ||
googleMapURL: "https://maps.googleapis.com/maps/api/js?v=3.exp&libraries=geometry,drawing,places", | ||
googleMapURL: "https://maps.googleapis.com/maps/api/js?key=AIzaSyC4R6AN7SmujjPUIGKdyao2Kqitzr1kiRg&v=3.exp&libraries=geometry,drawing,places", | ||
loadingElement: <div style={{ height: `100%` }} />, | ||
@@ -53,0 +53,0 @@ containerElement: <div style={{ height: `400px` }} />, |
@@ -0,1 +1,7 @@ | ||
/* | ||
* ----------------------------------------------------------------------------- | ||
* This file is auto-generated from the corresponding file at `src/macros/`. | ||
* Please **DO NOT** edit this file directly when creating PRs. | ||
* ----------------------------------------------------------------------------- | ||
*/ | ||
/* global google */ | ||
@@ -2,0 +8,0 @@ import React from "react" |
@@ -27,3 +27,3 @@ ### Usage | ||
<MapWithAMarker | ||
googleMapURL="https://maps.googleapis.com/maps/api/js?v=3.exp&libraries=geometry,drawing,places" | ||
googleMapURL="https://maps.googleapis.com/maps/api/js?key=AIzaSyC4R6AN7SmujjPUIGKdyao2Kqitzr1kiRg&v=3.exp&libraries=geometry,drawing,places" | ||
loadingElement={<div style={{ height: `100%` }} />} | ||
@@ -61,3 +61,3 @@ containerElement={<div style={{ height: `400px` }} />} | ||
<MapWithAMarker | ||
googleMapURL="https://maps.googleapis.com/maps/api/js?v=3.exp&libraries=geometry,drawing,places" | ||
googleMapURL="https://maps.googleapis.com/maps/api/js?key=AIzaSyC4R6AN7SmujjPUIGKdyao2Kqitzr1kiRg&v=3.exp&libraries=geometry,drawing,places" | ||
loadingElement={<div style={{ height: `100%` }} />} | ||
@@ -64,0 +64,0 @@ containerElement={<div style={{ height: `400px` }} />} |
@@ -0,1 +1,7 @@ | ||
/* | ||
* ----------------------------------------------------------------------------- | ||
* This file is auto-generated from the corresponding file at `src/macros/`. | ||
* Please **DO NOT** edit this file directly when creating PRs. | ||
* ----------------------------------------------------------------------------- | ||
*/ | ||
/* global google */ | ||
@@ -158,3 +164,3 @@ import _ from "lodash" | ||
/** | ||
* Returns the panes in which this OverlayView can be rendered. The panes are not initialized until onAdd is called by the API. | ||
* Returns the panes in which this OverlayView can be rendered. The panes are not initialized until `onAdd` is called by the API. | ||
* @type MapPanesonAdd | ||
@@ -168,3 +174,3 @@ * @public | ||
/** | ||
* Returns the MapCanvasProjection object associated with this OverlayView. The projection is not initialized until onAdd is called by the API. | ||
* Returns the `MapCanvasProjection` object associated with this `OverlayView`. The projection is not initialized until `onAdd` is called by the API. | ||
* @type MapCanvasProjectionMapCanvasProjectionOverlayViewonAdd | ||
@@ -171,0 +177,0 @@ * @public |
@@ -69,3 +69,3 @@ ### Usage | ||
<MapWithAnOverlayView | ||
googleMapURL="https://maps.googleapis.com/maps/api/js?v=3.exp&libraries=geometry,drawing,places" | ||
googleMapURL="https://maps.googleapis.com/maps/api/js?key=AIzaSyC4R6AN7SmujjPUIGKdyao2Kqitzr1kiRg&v=3.exp&libraries=geometry,drawing,places" | ||
loadingElement={<div style={{ height: `100%` }} />} | ||
@@ -146,3 +146,3 @@ containerElement={<div style={{ height: `400px` }} />} | ||
<MapWithAnOverlayView | ||
googleMapURL="https://maps.googleapis.com/maps/api/js?v=3.exp&libraries=geometry,drawing,places" | ||
googleMapURL="https://maps.googleapis.com/maps/api/js?key=AIzaSyC4R6AN7SmujjPUIGKdyao2Kqitzr1kiRg&v=3.exp&libraries=geometry,drawing,places" | ||
loadingElement={<div style={{ height: `100%` }} />} | ||
@@ -149,0 +149,0 @@ containerElement={<div style={{ height: `400px` }} />} |
@@ -0,1 +1,7 @@ | ||
/* | ||
* ----------------------------------------------------------------------------- | ||
* This file is auto-generated from the corresponding file at `src/macros/`. | ||
* Please **DO NOT** edit this file directly when creating PRs. | ||
* ----------------------------------------------------------------------------- | ||
*/ | ||
/* global google */ | ||
@@ -154,3 +160,3 @@ import _ from "lodash" | ||
/** | ||
* Returns the query selected by the user, or null if no places have been found yet, to be used with places_changed event. | ||
* Returns the query selected by the user, or `null` if no places have been found yet, to be used with `places_changed` event. | ||
* @type Array<PlaceResult>nullplaces_changed | ||
@@ -157,0 +163,0 @@ * @public |
@@ -15,3 +15,3 @@ ### Usage | ||
withProps({ | ||
googleMapURL: "https://maps.googleapis.com/maps/api/js?v=3.exp&libraries=geometry,drawing,places", | ||
googleMapURL: "https://maps.googleapis.com/maps/api/js?key=AIzaSyC4R6AN7SmujjPUIGKdyao2Kqitzr1kiRg&v=3.exp&libraries=geometry,drawing,places", | ||
loadingElement: <div style={{ height: `100%` }} />, | ||
@@ -124,3 +124,3 @@ containerElement: <div style={{ height: `400px` }} />, | ||
withProps({ | ||
googleMapURL: "https://maps.googleapis.com/maps/api/js?v=3.exp&libraries=geometry,drawing,places", | ||
googleMapURL: "https://maps.googleapis.com/maps/api/js?key=AIzaSyC4R6AN7SmujjPUIGKdyao2Kqitzr1kiRg&v=3.exp&libraries=geometry,drawing,places", | ||
loadingElement: <div style={{ height: `100%` }} />, | ||
@@ -127,0 +127,0 @@ containerElement: <div style={{ height: `400px` }} />, |
@@ -0,1 +1,7 @@ | ||
/* | ||
* ----------------------------------------------------------------------------- | ||
* This file is auto-generated from the corresponding file at `src/macros/`. | ||
* Please **DO NOT** edit this file directly when creating PRs. | ||
* ----------------------------------------------------------------------------- | ||
*/ | ||
/* global google */ | ||
@@ -89,3 +95,3 @@ import invariant from "invariant" | ||
/** | ||
* Returns the query selected by the user, or null if no places have been found yet, to be used with places_changed event. | ||
* Returns the query selected by the user, or `null` if no places have been found yet, to be used with `places_changed` event. | ||
* @type Array<PlaceResult>nullplaces_changed | ||
@@ -92,0 +98,0 @@ * @public |
@@ -12,3 +12,3 @@ ### Usage | ||
withProps({ | ||
googleMapURL: "https://maps.googleapis.com/maps/api/js?v=3.exp&libraries=geometry,drawing,places", | ||
googleMapURL: "https://maps.googleapis.com/maps/api/js?key=AIzaSyC4R6AN7SmujjPUIGKdyao2Kqitzr1kiRg&v=3.exp&libraries=geometry,drawing,places", | ||
loadingElement: <div style={{ height: `100%` }} />, | ||
@@ -87,3 +87,3 @@ containerElement: <div style={{ height: `400px` }} />, | ||
withProps({ | ||
googleMapURL: "https://maps.googleapis.com/maps/api/js?v=3.exp&libraries=geometry,drawing,places", | ||
googleMapURL: "https://maps.googleapis.com/maps/api/js?key=AIzaSyC4R6AN7SmujjPUIGKdyao2Kqitzr1kiRg&v=3.exp&libraries=geometry,drawing,places", | ||
loadingElement: <div style={{ height: `100%` }} />, | ||
@@ -90,0 +90,0 @@ containerElement: <div style={{ height: `400px` }} />, |
@@ -0,1 +1,7 @@ | ||
/* | ||
* ----------------------------------------------------------------------------- | ||
* This file is auto-generated from the corresponding file at `src/macros/`. | ||
* Please **DO NOT** edit this file directly when creating PRs. | ||
* ----------------------------------------------------------------------------- | ||
*/ | ||
/* global google */ | ||
@@ -2,0 +8,0 @@ import React from "react" |
@@ -0,1 +1,7 @@ | ||
/* | ||
* ----------------------------------------------------------------------------- | ||
* This file is auto-generated from the corresponding file at `src/macros/`. | ||
* Please **DO NOT** edit this file directly when creating PRs. | ||
* ----------------------------------------------------------------------------- | ||
*/ | ||
/* global google */ | ||
@@ -2,0 +8,0 @@ import React from "react" |
@@ -0,1 +1,7 @@ | ||
/* | ||
* ----------------------------------------------------------------------------- | ||
* This file is auto-generated from the corresponding file at `src/macros/`. | ||
* Please **DO NOT** edit this file directly when creating PRs. | ||
* ----------------------------------------------------------------------------- | ||
*/ | ||
/* global google */ | ||
@@ -2,0 +8,0 @@ import React from "react" |
@@ -0,1 +1,7 @@ | ||
/* | ||
* ----------------------------------------------------------------------------- | ||
* This file is auto-generated from the corresponding file at `src/macros/`. | ||
* Please **DO NOT** edit this file directly when creating PRs. | ||
* ----------------------------------------------------------------------------- | ||
*/ | ||
import invariant from "invariant" | ||
@@ -232,3 +238,3 @@ import React from "react" | ||
/** | ||
* Returns the heading and pitch of the photographer when this panorama was taken. For Street View panoramas on the road, this also reveals in which direction the car was travelling. This data is available after the pano_changed event. | ||
* Returns the heading and pitch of the photographer when this panorama was taken. For Street View panoramas on the road, this also reveals in which direction the car was travelling. This data is available after the `pano_changed` event. | ||
* @type StreetViewPovpano_changed | ||
@@ -242,3 +248,3 @@ * @public | ||
/** | ||
* Returns the current LatLng position for the Street View panorama. | ||
* Returns the current `LatLng` position for the Street View panorama. | ||
* @type LatLngLatLng | ||
@@ -261,3 +267,3 @@ * @public | ||
/** | ||
* Returns the status of the panorama on completion of the setPosition() or setPano() request. | ||
* Returns the status of the panorama on completion of the `setPosition()` or `setPano()` request. | ||
* @type StreetViewStatussetPosition()setPano() | ||
@@ -271,3 +277,3 @@ * @public | ||
/** | ||
* Returns true if the panorama is visible. It does not specify whether Street View imagery is available at the specified position. | ||
* Returns `true` if the panorama is visible. It does not specify whether Street View imagery is available at the specified position. | ||
* @type booleantrue | ||
@@ -274,0 +280,0 @@ * @public |
@@ -21,3 +21,3 @@ ### Usage | ||
withProps({ | ||
googleMapURL: "https://maps.googleapis.com/maps/api/js?v=3.exp&libraries=geometry,drawing,places", | ||
googleMapURL: "https://maps.googleapis.com/maps/api/js?key=AIzaSyC4R6AN7SmujjPUIGKdyao2Kqitzr1kiRg&v=3.exp&libraries=geometry,drawing,places", | ||
loadingElement: <div style={{ height: `100%` }} />, | ||
@@ -69,3 +69,3 @@ containerElement: <div style={{ height: `400px` }} />, | ||
withProps({ | ||
googleMapURL: "https://maps.googleapis.com/maps/api/js?v=3.exp&libraries=geometry,drawing,places", | ||
googleMapURL: "https://maps.googleapis.com/maps/api/js?key=AIzaSyC4R6AN7SmujjPUIGKdyao2Kqitzr1kiRg&v=3.exp&libraries=geometry,drawing,places", | ||
loadingElement: <div style={{ height: `100%` }} />, | ||
@@ -72,0 +72,0 @@ containerElement: <div style={{ height: `400px` }} />, |
@@ -0,1 +1,7 @@ | ||
/* | ||
* ----------------------------------------------------------------------------- | ||
* This file is auto-generated from the corresponding file at `src/macros/`. | ||
* Please **DO NOT** edit this file directly when creating PRs. | ||
* ----------------------------------------------------------------------------- | ||
*/ | ||
/* global google */ | ||
@@ -2,0 +8,0 @@ import React from "react" |
@@ -14,3 +14,3 @@ ### Usage | ||
withProps({ | ||
googleMapURL: "https://maps.googleapis.com/maps/api/js?v=3.exp&libraries=geometry,drawing,places", | ||
googleMapURL: "https://maps.googleapis.com/maps/api/js?key=AIzaSyC4R6AN7SmujjPUIGKdyao2Kqitzr1kiRg&v=3.exp&libraries=geometry,drawing,places", | ||
loadingElement: <div style={{ height: `100%` }} />, | ||
@@ -47,3 +47,3 @@ containerElement: <div style={{ height: `400px` }} />, | ||
withProps({ | ||
googleMapURL: "https://maps.googleapis.com/maps/api/js?v=3.exp&libraries=geometry,drawing,places", | ||
googleMapURL: "https://maps.googleapis.com/maps/api/js?key=AIzaSyC4R6AN7SmujjPUIGKdyao2Kqitzr1kiRg&v=3.exp&libraries=geometry,drawing,places", | ||
loadingElement: <div style={{ height: `100%` }} />, | ||
@@ -50,0 +50,0 @@ containerElement: <div style={{ height: `400px` }} />, |
@@ -0,1 +1,7 @@ | ||
/* | ||
* ----------------------------------------------------------------------------- | ||
* This file is auto-generated from the corresponding file at `src/macros/`. | ||
* Please **DO NOT** edit this file directly when creating PRs. | ||
* ----------------------------------------------------------------------------- | ||
*/ | ||
/* global google */ | ||
@@ -2,0 +8,0 @@ import invariant from "invariant" |
import { parse } from "url" | ||
import toMarkdown from "to-markdown" | ||
import makeFetchHappen from "make-fetch-happen" | ||
@@ -53,2 +54,6 @@ import cheerio from "cheerio" | ||
const returnsDesc = toMarkdown( | ||
$tr.find("td:nth-child(2) > div.desc").html() | ||
) | ||
return { | ||
@@ -58,3 +63,3 @@ name, | ||
returns: $tr.find("td:nth-child(2) > div > code").text(), | ||
returnsDesc: $tr.find("td:nth-child(2) > div.desc").text(), | ||
returnsDesc, | ||
} | ||
@@ -61,0 +66,0 @@ }) |
@@ -11,18 +11,21 @@ import path from "path" | ||
const files = glob.sync("**/*.jsx", { | ||
cwd: path.resolve(__dirname, "../macros/"), | ||
ignore: "*.spec.jsx", | ||
}) | ||
// const files = ["Marker.jsx", "GoogleMap.jsx"] | ||
files.map(it => { | ||
const filename = path.resolve(__dirname, "../macros/", it) | ||
const nextFilename = path.resolve(__dirname, "../components/", it) | ||
console.log( | ||
`Generating ${relativeToCwd(nextFilename)} from ${relativeToCwd(filename)}` | ||
) | ||
glob | ||
.sync("**/*.jsx", { | ||
cwd: path.resolve(__dirname, "../macros/"), | ||
ignore: "*.spec.jsx", | ||
}) | ||
// .slice(0, 1) | ||
.map(it => { | ||
const filename = path.resolve(__dirname, "../macros/", it) | ||
const nextFilename = path.resolve(__dirname, "../components/", it) | ||
console.log( | ||
`Generating ${relativeToCwd(nextFilename)} from ${relativeToCwd( | ||
filename | ||
)}` | ||
) | ||
const source = fs.readFileSync(filename, "utf8") | ||
const output = tx({ source }, { jscodeshift }) | ||
mkdirp.sync(path.dirname(nextFilename)) | ||
fs.writeFileSync(nextFilename, output) | ||
}) | ||
const source = fs.readFileSync(filename, "utf8") | ||
const output = tx({ source }, { jscodeshift }) | ||
mkdirp.sync(path.dirname(nextFilename)) | ||
fs.writeFileSync(nextFilename, output) | ||
}) |
@@ -65,2 +65,18 @@ import path from "path" | ||
wrap.find(j.Program).forEach(path => { | ||
j(path).replaceWith({ | ||
...path.node.__clone(), | ||
body: [ | ||
{ | ||
...path.node.body[0], | ||
comments: [ | ||
j.commentBlock(AUTO_GENERATED_HEADER, true), | ||
...(path.node.body[0].comments || []), | ||
], | ||
}, | ||
...path.node.body.slice(1), | ||
], | ||
}) | ||
}) | ||
wrap.find(j.ClassBody).forEach(path => { | ||
@@ -228,1 +244,8 @@ j(path).replaceWith( | ||
} | ||
const AUTO_GENERATED_HEADER = ` | ||
* ----------------------------------------------------------------------------- | ||
* This file is auto-generated from the corresponding file at \`src/macros/\`. | ||
* Please **DO NOT** edit this file directly when creating PRs. | ||
* ----------------------------------------------------------------------------- | ||
` |
@@ -28,3 +28,3 @@ ### Props | ||
<MapWithAMarker | ||
googleMapURL="https://maps.googleapis.com/maps/api/js?v=3.exp&libraries=geometry,drawing,places" | ||
googleMapURL="https://maps.googleapis.com/maps/api/js?key=AIzaSyC4R6AN7SmujjPUIGKdyao2Kqitzr1kiRg&v=3.exp&libraries=geometry,drawing,places" | ||
loadingElement={<div style={{ height: `100%` }} />} | ||
@@ -31,0 +31,0 @@ containerElement={<div style={{ height: `400px` }} />} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
461177
12549
32