Map
Hi:
I have two questions:
The first:
I'm making a list clickable and it works perfectly, but I also want to put a map with the location.
I created this database:
But when I click everything is classified by its "id" except the map.
I added the event succes:
var coordsArray = data;
var marker;
for (var i = 0, j = coordsArray.length; i < j; i++) {
marker = new google.maps.Marker({
position: new google.maps.LatLng( coordsArray.lat, coordsArray.long ),
map: Appery("map_1").gmap
});
}
This is my publick link:
http://appery.io/app/mobile-frame?src...
Could you help me?
The second question:
I want to open a button to open a window that gives me option to open the coordinates on Google maps, locations, etc..
eg:
window.location.href ="mailto:" + Appery('email').text();
but with map.
thanks.
Regards.