Drawing google map using returned json data from a server

Hi there ,
I want to use google map API to draw a map showing all health facilities in Ghana.
So I fetched the data from the database and convert to json which will be returned from the handler function and then be bind with the html template. After this I want to use the data from the json to draw the map.
Please I need help on how to use the json fetched data to draw the map.

i guess you want something like this one. I would start from here. basicaly, the json can be easy decoded but further is not a matter of golang but a matter of html,js and Google api.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.