Hi,
you can add this url in Events > Settings > Formatting > Maps > Location balloon format or Location balloon format
<a href="http://maps.google.com/maps/place?q=#_LOCATIONADDRESS,+#_LOCATIONSTATE&hl=#_LOCATIONCOUNTRY" target="_blank">view map in new window</a>
http://wp-events-plugin.com/documentation/placeholders/
Thread Starter
toni
(@moretso)
Hi,
thank you for your answer, but this is not what I meant.
I would like to get a way of populating a map somewhere else with the marker generated by the global_map (for example scope=”today”) in events manager.
=> Our mobile app provides a map, that can be populated by external data. We would like these external data to be the markers created by EM in the global map. It refers to a .php file where the child contents would be location markers with some other informations…
can I know what type of data do you need? e.g. json, rss
can you give further details?
thanks
Thread Starter
toni
(@moretso)
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”:”http://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…