Page 1 of 1

Infowindow & Navigating to Detail Page

Posted: Thu Nov 20, 2014 5:49 am
by Saltwater USA

Hi

I was able to retrieve geopoints from database and add markers on the map.

Q1. How can I take the selected marker's db info and navigate to "location_detail" page by clicking the text in the infowindow? So I can show marker's detailed information on "location_detail" page?

I read other posts, but none of them worked for me :(

Q2. Referring to the screenshot, the full text in the infowindow is "Kiptopeke State Park" but "Park" is not showing in the infowindow, and there are unnecessary spaces. How can I adjust the size of the infowindow to relatively fit in to the text length???

Thank you in advance!

Image
Image


Infowindow & Navigating to Detail Page

Posted: Thu Nov 20, 2014 6:32 am
by Evgene Karachevtsev

Hello,

Could you please clarify, did you see this post: https://getsatisfaction.com/apperyio/... Wasn't it helpful for you?


Infowindow & Navigating to Detail Page

Posted: Thu Nov 20, 2014 4:40 pm
by Saltwater USA

Hello!

I think that post answers my second question.

But my first question (how to navigate to detailed page with marker info from database) is still alive.

Thanks!


Infowindow & Navigating to Detail Page

Posted: Thu Nov 20, 2014 10:14 pm
by Alena Prykhodko

Hello,

You should handle click event on marker as shown in doc: https://developers.google.com/maps/do...


Infowindow & Navigating to Detail Page

Posted: Tue Jun 16, 2015 6:02 pm
by umama fakher

Map is taking so much time in loading. I have around 120 locations which are displaying from database. Please Help!


Infowindow & Navigating to Detail Page

Posted: Wed Jun 17, 2015 10:21 am
by Evgene Karachevtsev

Hello Umama,

Could you please check for the errors and other information in a browser console when you test your app? Also please detail do you experience this problem when there is for example only one location in a db?


Infowindow & Navigating to Detail Page

Posted: Wed Jun 17, 2015 5:07 pm
by umama fakher

No I am experiencing it only with these locations loading from database. And I also checked console here are the step by step console errors I got on debugging.

Image

Image

Image

Image

Image

Image

This Uncaught Error goes on for 55 times(Not Every time it was found 55 times, it was found sometimes 33 sometimes 43) and then markers shows up but they are not centered(It is found while debugging only) , screen is down right of the map (Gulf of Guinea). And also every time it was putting marker on the map it was going to Gulf of Guinea and then come bak to the location i set to put another marker.

Image

Please Help!


Infowindow & Navigating to Detail Page

Posted: Sat Jun 20, 2015 10:34 am
by Evgene Karachevtsev

Hello!

Please find our reply here: https://getsatisfaction.com/apperyio/...


Infowindow & Navigating to Detail Page

Posted: Thu Sep 03, 2015 4:47 pm
by Blair Cox

That's the marker, what about a click event on the infowindow?


Infowindow & Navigating to Detail Page

Posted: Sun Sep 06, 2015 2:11 am
by Illya Stepanov

Hi - You can read about infowindow here: https://developers.google.com/maps/do...

Also this link should be helpful: http://stackoverflow.com/questions/13...