-
Notifications
You must be signed in to change notification settings - Fork 50
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
How to use with react? #95
Comments
Did that help @hafeez1042 ? |
thank you @dburles , Actually i didn't check that, i was busy with some other project. i will inform you after checking. |
I'm getting 'Uncaught InvalidValueError: GoogleMaps.initialize is not a function' on meteor 1.3, has anyone tried this with the new beta? tks! |
@fpaboim got pretty much the same error |
Hey guys I can't reproduce any errors on 1.3 are you able to reproduce the error on a fresh application so I can take a look? |
You don't (yet) need to import GoogleMaps as it's global. I'm yet to update the package to support modules. Hope to do that soon. |
Are there any more complex examples of this working in react? I'm trying to use it with flowrouter but not having much luck.(Meteor 1.3) |
Hey, I think you can not use this package directly with react, because you You can do it with both React Blaze components, check the Meteor guide. hope it helped you. 2016-06-15 13:14 GMT+02:00 eljefejames [email protected]:
|
You don't have to use the blaze template. With React you can use the |
do you have samples using react updating/adding new markers after render? |
@wiredots01 not specifically, however start with this example and you would place the logic here: https://github.com/dburles/meteor-google-maps-react-example/blob/master/imports/MyMap.js#L13-L16 To make it reactive, place a |
ive tried fetching the data from external API when the button was clicked... but it didnt work when updating |
@wiredots01 going to need a little bit more info than that my friend! |
I am using react as front end, is it possible to use with reactJS
The text was updated successfully, but these errors were encountered: