Page 1 of 1
Using the Google Maps API
Posted: Thu Jun 12, 2014 2:10 pm
by SYNapps
I have worked myself dilligently through the above tutorial. Having created the database 'location' and a collection called 'locations' it should be possible to add another column (say 'infowindow' string) and have its contents displayed at the location of the relevant marker when the marker is clicked?
Problem is that not one of the other maps tutorials shows me just how to do that and I am simply too new at this to figure it out myself. I am sure
Yuri know just how.
Using the Google Maps API
Posted: Thu Jun 12, 2014 3:14 pm
by Evgene Karachevtsev
Using the Google Maps API
Posted: Thu Jun 12, 2014 4:35 pm
by SYNapps
The code you are referring me to is similar to that suggested by developer.google at the earlier link you provided. The end result is definitely what I am after.
What I miss is how to marry the latlng data from my collection 'locations' with the content string that should also be from the same collection.
The ideal solution should amend Step 10 in the Google Maps API tutorial and I am not proficient enough with JavaScript.
Using the Google Maps API
Posted: Thu Jun 12, 2014 4:38 pm
by SYNapps
Evgene: I will however experiment with this for the sake of learning as much as I can. Thank you once again for attempting to help. Chris
Using the Google Maps API
Posted: Thu Jun 12, 2014 6:25 pm
by SYNapps
Evgene: I have tried as best I can. It simply does not execute and that is because I am at a loss as to how to use the example correctly. I am afraid I am going to have to conclude it can't be done and try another solution. Thank you. Chris