Saltwater USA
Posts: 0
Joined: Thu Oct 23, 2014 2:18 am

Infowindow & Navigating to Detail Page

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

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Infowindow & Navigating to Detail Page

Hello,

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

Saltwater USA
Posts: 0
Joined: Thu Oct 23, 2014 2:18 am

Infowindow & Navigating to Detail Page

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!

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Infowindow & Navigating to Detail Page

Hello,

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

umama fakher
Posts: 0
Joined: Fri May 22, 2015 4:26 pm

Infowindow & Navigating to Detail Page

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

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Infowindow & Navigating to Detail Page

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?

umama fakher
Posts: 0
Joined: Fri May 22, 2015 4:26 pm

Infowindow & Navigating to Detail Page

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!

Blair Cox
Posts: 0
Joined: Thu Jun 04, 2015 2:29 pm

Infowindow & Navigating to Detail Page

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

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Infowindow & Navigating to Detail Page

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

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

Return to “Issues”