using mergMK

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Ricardo A
Posts: 15
Joined: Tue Jun 14, 2011 1:42 pm

using mergMK

Post by Ricardo A » 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
Attachments
mergMD-test.gif

Ricardo A
Posts: 15
Joined: Tue Jun 14, 2011 1:42 pm

Re: using mergMK

Post by Ricardo A » Thu Aug 22, 2013 9:53 pm

I discovered now that the script stops after mergMKCreate command. I think the lib isn't being properly loaded. Why?

ChrisMukrow
Posts: 73
Joined: Mon Nov 12, 2012 4:13 pm

Re: using mergMK

Post by ChrisMukrow » Fri Aug 23, 2013 9:41 am

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!

monte
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1564
Joined: Fri Jan 13, 2012 1:47 am
Contact:

Re: using mergMK

Post by monte » Fri Aug 23, 2013 9:58 am

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
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

Ricardo A
Posts: 15
Joined: Tue Jun 14, 2011 1:42 pm

Re: using mergMK

Post by Ricardo A » Sun Aug 25, 2013 3:22 pm

Sorry about the post, I attached the wrong mergMK.kext file.

Thanks for all

Post Reply