ianhaney50 wrote: I can integrate google maps into the front end as before integrated couchcms, I had google maps iframe coding integrated and was working or is this link better: https://developers.google.com/maps/docu ... google-map
The link you mentioned has this line in JS -
- Code: Select all
var uluru = {lat: -25.344, lng: 131.036};
Did you define 2 text regions to store lat/long numbers and did you use them? I would expect to see something like this in your code -
- Code: Select all
var uluru = {lat: <cms:get var='my_editable_lat' default='-25.344' />, lng: <cms:get var='my_editable_lng' default='131.036' />};
I think <cms:get /> is somewhat rarely used in the wild, so maybe keep it simple with <cms:show > -
- Code: Select all
var uluru = {lat: <cms:show my_editable_lat />, lng: <cms:show my_editable_lng />};
Hope it helps. At least, you will have a map which coordinates can be set/changed via backend.