Map section in the "Holiday Booker" example?

Hi,
Clara, have you managed to resolve the issue?
Dawd, I recommend using the console.log function inside the iFrame to check whether the postMessage works properly to the iFrame. Moreover, I recommend checking out Google’s documentation regarding the code within the iFrame to create multiple markers. As clarified above, it’s important to make sure that the permissions are set correctly and that the data is synced to the live site.

Best,
Tal.

Hey Tal,

i managed the last issues with the map now! It was actually simple; you were right about the permissions. Your code worked perfectly! Thank you so much!! I think i can handle the next few steps. I will let you know if there is something out of my league again. Haha

Greetings,

Dawda

Hello Tal

No unfortunately it still doesn’t work on the live website, only on the preview.

The permissions of my table are fine since I opened them to anyone.
I also set my Maps dataset to “Read & Write”.

Also my live database is synchronised with my sandbox.
However while synchronising I’ve got the following message.

I originally linked my dropdown list feeding the column “type” to another database called “type”.

But I noticed that I actually don’t need it, and removed the connections.
The type database is moreover empty (currently not possible to delete database that are not needed anymore).
https://www.sustainabilitytransition.com/map


So there shouldn’t be any problem on this side.

However I might have found another possible source of problem.
While inspecting my live page, I can read the following messages:

What do you think, is it possible that the problem comes from there?

The problematic page: https://www.sustainabilitytransition.com/map

Thanks
Clara

I recommend trying to create a new page, copy the code from the instructions I gave on the previous page, make sure that the dataset mode is Read Only . Don’t use user inputs on this page, just an HTML component and the code.
It seems like there’s an issue with it because you use the same dataset for updating and reading.

Great this works, thanks a lot! :slight_smile:

I am now trying to display the labels of the markers from the database on the map.
I tried the following code without success, any thoughts?

Thanks a lot! :slight_smile:
Clara

Hello again :smiley:

i was wondering if i made something wrong with the permissions because my map is only shown within the preview but not on the published site. Anyone should be able to see it and the mode is “Read Only”.

Some point i missed?

Greetings,
Dawd

Hi, pls please what am I doing wrong?
I have a dataset Cesta, where i have field latitude and longitude


My backend file Markers.jsw


My code on page, where is map


I have “dataset1” and maps “html1” , but only the text My Google maps is displayed…


Any help, pls???

You got your permissions right? I think the mode of your dataset connection to that page has to be “Read Only”. Furthermore, this thing seems to work only in the Preview Mode. I tried to change that several times but it didnt work out for me. But i think Clara could help you with that. :slight_smile:

Greetings

Yes permissions and dataset on read I set correctly … I think I will have a bug in the code …

long = obj [“items”] map ((item) => {// Items is my dataset name “dataset1” or my database name "

It should be your database name.

Ok, but still doesnt work :frowning: … Pls can you write me message on Lukáš Bláha
I’ll just pay, but I need it to work

Hi Tal - The original links to the code on github are now broken - page not found. Any chance you can repost them, please? Specifically steps 2 & 4 in your post of 12/31/2017. I’d love to try this solution. Thank you!

Hello Tal. For point 2, the link doesn’t seem to work anymore, could you please update it? Thanks a lot!!

Hi Tal, Yes please the link is not working anymore. Can you please let us know what code to copy?

Hello Tal, links are not working please update it.