using mergMK
Posted: Thu Aug 22, 2013 9:11 pm
I am trying to use Google Maps on an App. I am using registered Livecode 6.1.1, MOBGui and mergMK. I copied the mergMK binary files on Standalone Application Window. Below I copied the card-script associated a graphics named map. The problem is nothing appear on iOS simulator. Someone can help me?
Code: Select all
on preOpenStack
if the environment is "mobile" then
mobileStartTrackingLocation
end if
end preOpenStack
on openStack
mergMKCreate
mergMKSet "rect", the rect of graphic "map"
put mobileCurrentLocation() into theLocation
mergMKSet "center coordinate",(theLocation["latitude"],theLocation["longitude"])
mergMKSet "visible",true
mergMKSet "shows user location",true
mergMKSet "zoom enabled",true
mergMKSet "user tracking mode","follow",true
end openStack