MergMK Help
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 8
- Joined: Tue Feb 07, 2017 9:40 pm
MergMK Help
Hello,
Sorry this may seem like a dumb question, I'm relatively new to Livecode and am trying to make an app that involves a map, and I plan on using the mergMK extension.
I have looked at the mergext website for help, but it doesn't really explain how to create the map, which is my main problem.
If someone could show me some example code to get me started or explain it to me, that would be greatly appreciated!!
Thanks
Sorry this may seem like a dumb question, I'm relatively new to Livecode and am trying to make an app that involves a map, and I plan on using the mergMK extension.
I have looked at the mergext website for help, but it doesn't really explain how to create the map, which is my main problem.
If someone could show me some example code to get me started or explain it to me, that would be greatly appreciated!!
Thanks
-
- Livecode Opensource Backer
- Posts: 1336
- Joined: Sun Jul 12, 2009 10:53 am
- Location: Bordeaux, France
Re: MergMK Help
In the mergMK folder there is a document that explains all the commands used by mergMK to create a map...
-
- Posts: 8
- Joined: Tue Feb 07, 2017 9:40 pm
Re: MergMK Help
Yes I read this, and tried to understand it, however when I tried the example code/ my own code to create the map it did not work at all.
My code was:
command mergMKCreate
mergMKSet "rect", the rect of graphic "map"
mergMKSet "visible", true
map is just a rectangle named "map"
I am not great with commands yet, so this is where I probably went wrong or just the whole script is wrong
Thanks for replying and for any help!
My code was:
command mergMKCreate
mergMKSet "rect", the rect of graphic "map"
mergMKSet "visible", true
map is just a rectangle named "map"
I am not great with commands yet, so this is where I probably went wrong or just the whole script is wrong
Thanks for replying and for any help!
-
- Livecode Opensource Backer
- Posts: 1336
- Joined: Sun Jul 12, 2009 10:53 am
- Location: Bordeaux, France
Re: MergMK Help
There is a stack attached that will display a map using mergMK... that should get you going.. don't forget to select mergMK in 'inclusions' from withing the standalone settings... scripts are in the stack and the card...
dixie
dixie
- Attachments
-
- maptest.livecode.zip
- (2.11 KiB) Downloaded 509 times
-
- Posts: 8
- Joined: Tue Feb 07, 2017 9:40 pm
Re: MergMK Help
Hi Dixie,
Thank you so much for the example code! I really appreciate it, I think I understand the general idea now.
However, the map still isn't appearing on the card. Every time I open the file you sent, it comes up with an error saying that it couldn't find the handler
mergMKCreate.
I think this is because it's not installed properly. I went to the inclusions tab and selected mergMK like you said to do, but that didn't work either. I also put the mergMK.lcext file in the copy files pane; that's what it said to do in the how to file.
If you have any ideas on how to fix this it would be greatly appreciated! thanks!
Thank you so much for the example code! I really appreciate it, I think I understand the general idea now.
However, the map still isn't appearing on the card. Every time I open the file you sent, it comes up with an error saying that it couldn't find the handler
mergMKCreate.
I think this is because it's not installed properly. I went to the inclusions tab and selected mergMK like you said to do, but that didn't work either. I also put the mergMK.lcext file in the copy files pane; that's what it said to do in the how to file.
If you have any ideas on how to fix this it would be greatly appreciated! thanks!
-
- Livecode Opensource Backer
- Posts: 1336
- Joined: Sun Jul 12, 2009 10:53 am
- Location: Bordeaux, France
Re: MergMK Help
I think that what you are doing is opening the stack on the desktop and expecting it to run... open the stack in the simulator or on your iPhone..
dixie
dixie
-
- Posts: 8
- Joined: Tue Feb 07, 2017 9:40 pm
Re: MergMK Help
Hi Dixie
Thanks for all your help so far,I really appreciate it. So when i run the code in the simulator, it first comes up with an error saying that "Could not find appropriate build of external" (then it says the location of the lcext file, which i put in the copy files pane)
It also comes up with "Could not find appropriate build of external '/Applications/LiveCode Community 8.1.1.app/Contents/Tools/Ext/mergMK-2.1.5/mergMK.lcext' for Simulator-10_0" - Thats where i also put the lcext file, basically its inside the livecode application package contents.
So i think the problem is the installation. I obviously installed the whole thing wrong haha. I selected it from the inclusions pane, put the lcext in the copy files pane, and put the lcext in the package contents of the main folder.
Any help with would be greatly appreciated. Thanks!
Thanks for all your help so far,I really appreciate it. So when i run the code in the simulator, it first comes up with an error saying that "Could not find appropriate build of external" (then it says the location of the lcext file, which i put in the copy files pane)
It also comes up with "Could not find appropriate build of external '/Applications/LiveCode Community 8.1.1.app/Contents/Tools/Ext/mergMK-2.1.5/mergMK.lcext' for Simulator-10_0" - Thats where i also put the lcext file, basically its inside the livecode application package contents.
So i think the problem is the installation. I obviously installed the whole thing wrong haha. I selected it from the inclusions pane, put the lcext in the copy files pane, and put the lcext in the package contents of the main folder.
Any help with would be greatly appreciated. Thanks!
Re: MergMK Help
My thanks for the example as well.
Great function !!
I just tried to test on Android and found that it did not work.
Am I doing something wrong or is mergMK just iOS-only ?
If yes (and I do not hope so - cross fingers), is there an Android equivalent ?
Best regards
Ulrich
Great function !!
I just tried to test on Android and found that it did not work.
Am I doing something wrong or is mergMK just iOS-only ?
If yes (and I do not hope so - cross fingers), is there an Android equivalent ?
Best regards
Ulrich
-
- Livecode Opensource Backer
- Posts: 1336
- Joined: Sun Jul 12, 2009 10:53 am
- Location: Bordeaux, France
Re: MergMK Help
UKMC...
mergMK is iOS only
dixie
mergMK is iOS only
dixie
Re: MergMK Help
In another post I read that the mergExt-Suite is available as beta for Android for "full users" which are registrated.
Do you know about this ?
Do you know about this ?
-
- Posts: 8
- Joined: Tue Feb 07, 2017 9:40 pm
Re: MergMK Help
Hi UKMC,
Just wondering did your map come up in live code, or did you have to test it using the simulator?
My map doesn't show up either way...
Just wondering did your map come up in live code, or did you have to test it using the simulator?
My map doesn't show up either way...
-
- Livecode Opensource Backer
- Posts: 1336
- Joined: Sun Jul 12, 2009 10:53 am
- Location: Bordeaux, France
Re: MergMK Help
TheBlackKnight..
You have to run mergMK in the simulator.
dixie
You have to run mergMK in the simulator.
dixie
-
- Posts: 8
- Joined: Tue Feb 07, 2017 9:40 pm
Re: MergMK Help
That's what I've been trying to do... However when i try to click the test button to run the simulator it comes up with a message saying "iOS Simulator 10.0" and it doesn't run. Any idea whats wrong here? Thanks