I would like an url providing json data to feed a map somewhere else with EM global-map markers.
Example : on my WP website with EM installed, I display a global map with today’s events (locationsmap, scope=today). I would like to generate the same map from a mobile app, not just display my website page in the mobile app.
I use buzztouch, with a location module :
They say we can provide a data url :
If you provide location data from a remote file there is not childItems array. Instead,
the locations are pulled from a remote file then added to the map.
{
“itemId”:”1111″,
“itemType”:”BT_screen_map”,
“itemNickname”:”Location Map”,
“navBarTitleText”:”Monterey Spots”,
“dataURL”:”https://mywebsite.com/locationsForMap.php”
}
In this case the locations would come from a backend script at the dataURL. Loading
the dataURL in your browser would produce output like this….
{
“childItems”:[
{
“itemId”:”D441703507867F328A084DF”,
“itemType”:”BT_mapLocation”,
“latitude”:”36.600723″,
“longitude”:”-121.8928338″,
“title”:”Location 1″,
“subTitle”:”234 Del Monte Blvd Monterey CA 93940″
Thank you for your help, I’m learning…