Grails Google Maps - Render map as index it can't pick up the places saved in db -


I have successfully followed this. The map is currently located at: LocalHost: 8080 / map / trip / map and map to index page, localhost: 8080 / map I want to take it as

I can easily present the map, I change the code in index.gsp, but the digits in the DB are missing. It seems that the arrays of points (latitude and LNG) are not empty / empty, because I'm out of sight of travel.

Do I have an array in my trip controller which is Global Points? And how can I do this? Or another way, I think this is a very simple problem.

see the documentation. Just edit grails-app / conf / UrlMappings.groovy

Change the following

  "/" (See: "/ index")   

  "/" (Controller: "travel", verb: "map")  

Comments