Page 1 of 1

using mergMK

Posted: Thu Aug 22, 2013 9:11 pm
by Ricardo A
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

Re: using mergMK

Posted: Thu Aug 22, 2013 9:53 pm
by Ricardo A
I discovered now that the script stops after mergMKCreate command. I think the lib isn't being properly loaded. Why?

Re: using mergMK

Posted: Fri Aug 23, 2013 9:41 am
by ChrisMukrow
I think you are using the wrong binary file in the standalone window. Your are using Pre-Livecode 5.5.2 files, instead you should use mergMK.lcext for Livecode 6.1.1. Hopefully this helps!

Re: using mergMK

Posted: Fri Aug 23, 2013 9:58 am
by monte
Thanks Chris

I think that is the problem. In the version Ricardo sent me off list both versions were added. Removing the pre-5.2.2 files should do the trick I think.

Cheers

Monte

Re: using mergMK

Posted: Sun Aug 25, 2013 3:22 pm
by Ricardo A
Sorry about the post, I attached the wrong mergMK.kext file.

Thanks for all