New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v1.1.0 Not adding libraries (drawing/places etc) to maps api object #673
Comments
@tim-soft Good catch! This was introduced in #593 I think for the time being, instead of passing
|
@tim-soft This was fixed and deployed in |
are both ways (as described in #681) broken now? For me using the "old" way doesn't work as long as The "new" way with using props for each library isn't working at all, as only the heatmapLayer prop seems to be usable, other libraries are not implemented yet I assume? Is there any status on this and/or the PR? |
@faeron I am sorry you're experiencing this, I reverted the change on |
no worries :) I think it should not be a problem, when using it like in 1.0.9 only (without heatmap prop) |
@faeron I see the problem, we are working on a total fix with @DonovanDeSmedt |
@DonovanDeSmedt How are we looking on this man? Would love to see it happening |
@itsmichaeldiego Lost it out of sight, I'll take a look at it the coming days |
@DonovanDeSmedt would you like me to take over this issue for you? Specifically, to allow usage of bootstrapURLKeys.libraries prop array and the xyzLibrary={true} prop where we load all the libraries set to true from either source? We want to update the README.md to suggest one method or the other #686 |
As a recreation of the issue, see https://codesandbox.io/s/google-map-react-simple-map-yzeg2 which initializes a Google-Map-React map with the following props <GoogleMapReact
bootstrapURLKeys={{ key: "", libraries: ["places", "drawing"] }}
defaultCenter={this.props.center}
defaultZoom={this.props.zoom}
heatmapLibrary={true}
> and check the network requests. I see the following request |
@ZAKdev Could you take a look at this? |
Merged and released in |
Need to reopen this as I had to revert #921 which had a major bug. Will wait for @aviyadeveloper to fix it properly without causing bugs! |
I got the problem with the "libraries" too, it's doubled the library, like when I import libraries = ["places"], it generates the url like this: &libraries=placesplaces |
Hey, just import the libraries and region ( libraries = ["places"], region: "VN"), and the URL will be fine. |
Merged in #946 and Released in version CC @NgHLong @pablolizardo @barakplasma @DonovanDeSmedt @faeron @tim-soft |
Upgrading from v1.0.9 to v1.1.0, libraries are no longer added to the maps api object.
The text was updated successfully, but these errors were encountered: