Skip to content
This repository has been archived by the owner on Mar 29, 2018. It is now read-only.

infoWindow for markers #3

Open
jdrzejb opened this issue Jan 25, 2016 · 7 comments
Open

infoWindow for markers #3

jdrzejb opened this issue Jan 25, 2016 · 7 comments

Comments

@jdrzejb
Copy link

jdrzejb commented Jan 25, 2016

Hi,
I have another idea to make this plugin work better.
There is a property of InfoWindow in Google Maps API. It could be integrated into markers - it shouldn't be a problem, since there is already a marker function in code, and it only needs infoWindow object.

@vvo
Copy link
Contributor

vvo commented Jan 26, 2016

Can you precise how this would be exposed at the API level? We are using https://github.com/tomchentw/react-google-maps

@jdrzejb
Copy link
Author

jdrzejb commented Feb 22, 2016

I haven't put much thought into how this should be exposed. I was only thinking about using existing API, like this:

infoWindow: {
                content : 'Here goes text'
            }

Do you think it's possible?

@vvo
Copy link
Contributor

vvo commented Feb 23, 2016

The best way is to actually try it I am sure its feasible: clone the repo, npm install, npm run dev then hack around and see how to pass this option to react-google-maps. Should not be that hard.

Let me know

@mojosef
Copy link

mojosef commented Mar 10, 2016

This would be perfect. I've been trying to get the markers clickable with no luck just yet.

@jdrzejb
Copy link
Author

jdrzejb commented Apr 9, 2016

Hi,
I have tried to develop this feature, but it's buggy. Map is disapearing and markers sometimes tend to go lost.

https://github.com/jdrzejb/instantsearch-googlemaps

Here is my fork. Could you check it out?

@vvo
Copy link
Contributor

vvo commented Apr 14, 2016

That's awesome work, I am having a look right now, thanks.

@vvo
Copy link
Contributor

vvo commented Apr 14, 2016

I am adding more commits and polishing the interface, again thanks for awesome kickstart I will get back to you very soon

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants