Re: [PhoneGap] Mapkit for phonegap 2.7 IOS

163 views
Skip to first unread message

Shazron

unread,
May 30, 2013, 7:13:30 PM5/30/13
to phonegap


On Wed, May 29, 2013 at 2:53 AM, Alex Alves <alexfil...@gmail.com> wrote:
Hi guys.

I really need to use the mapkit framework on a Phonegap IOS app. Anyone has had any luck with this?

http://stackoverflow.com/questions/13234043/using-maps-in-a-native-app

I have used this tutorial and i have been able to compile without errors, but the map doesn't load....

Instead of using JSONKIT i have used: #import "CORDOVA/CDVJSON.h"

any luck for anyone?

help

Thanks

--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phon...@googlegroups.com
To unsubscribe from this group, send email to
phonegap+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
 
To compile in the cloud, check out build.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

jcesarmobile

unread,
May 31, 2013, 2:28:12 AM5/31/13
to phon...@googlegroups.com
that one isn't worket either, it has some little errors.
I've fixed them and sent a pull request

While they accept it, my code can be found here: https://github.com/jcesarmobile/MapKit

Roberto

unread,
Jul 1, 2013, 5:57:49 AM7/1/13
to phon...@googlegroups.com
Hi,

I finally got to work imhotep's version of the plugin, but my callouts do not display the blue chevron (detail disclosure button).

Any idea what I am doing wrong? 


Thank you.

Roberto

jcesarmobile

unread,
Jul 1, 2013, 6:28:12 AM7/1/13
to phon...@googlegroups.com
It seems that the buttonCallback option isn't available on the imhotep version of the plugin

Roberto

unread,
Jul 1, 2013, 7:54:05 AM7/1/13
to phon...@googlegroups.com
Oh, bummer!!

Do you know a fully working post 2.7 MapKit plugin?

Thanks

Roberto

jcesarmobile

unread,
Jul 1, 2013, 8:51:15 AM7/1/13
to phon...@googlegroups.com
I can try to update the iOS version tomorrow.
The native code for the button is there, but there is no javascript option to display it.

Jason Rosenbaum

unread,
Jul 1, 2013, 8:52:36 AM7/1/13
to phon...@googlegroups.com
Here's a working version with 2.3 -- I've eliminated the blue callouts, but you can easily comment them back in the MapKit.m file:


IIRC, 2.7 had some real issues with local storage, so I'd maybe pick another version...


_________________________________
Jason Rosenbaum

Email/GChat: sem...@theseminal.com
Cell: 914.806.1939
Twitter: http://twitter.com/j_ro





jcesarmobile

unread,
Jul 1, 2013, 9:24:39 AM7/1/13
to phon...@googlegroups.com
That version won't work on 2.7, but maybe it works on 2.5 and/or 2.6

I have a 2.6 version here, but didn't test the blue buttons

https://github.com/jcesarmobile/my-phonegap-plugins/tree/master/iOS/MapKitPlugin

Shazron

unread,
Jul 8, 2013, 3:13:41 PM7/8/13
to phonegap
File an issue with the plugin:

Ronald K

unread,
Jul 9, 2013, 3:32:30 AM7/9/13
to phon...@googlegroups.com
There now is a pull request that implements buttonCallback (iOS only).


Op maandag 1 juli 2013 12:28:12 UTC+2 schreef jcesarmobile het volgende:
Reply all
Reply to author
Forward
0 new messages