Google maps on a Dynamic Page for Real Estate

HI Guys i am hoping for some help. I am trying to get google maps to work on a dynamic page.


Can anybody see where i am going wrong?

1 Like

Hi,
Please review this thread regarding the same subject.

Best,
Tal.

1 Like

Hi Tal,

Thanks for your message. I have read through and it leaves off with the same problem that i have !

You are handing a string to a function that expects a number, more or less what the error message says. Change the field type in your database to number, or, convert the strings to numbers before you hand them to the maps function. Option 1 is best.

Thanks Giri, that seems to have done the trick. Now i just need to get rid of the description name.

Hi,
Do you have a column names " description " in your collection?
If you wish to remove the description completely, you can turn off the description toggle:

Should the issue persists, please send us a screenshot of your collection.

Best,
Tal.

You have misspelled latitude, you have two t (tt) in your fieldkey but the function is with one t.

Thanks guys i have got it working now!

1 Like

I have a similar issue and perhaps I designed my form incorrectly. I have a list of events captured in the dbase and display them on a dynamic page. Each event has a location and I want to display the event location on a map on the page but dont know how to get the individual address to be presented in the map.

In the form I added each address component as its own field and the dbase. can I show each address as a map with the fields I have or do I need to show 1 field as (Street, City, Postal code)? or convert to Long/Lat…if so how do I that automatically in the dbase

thanks
Donald