Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
jameztcc
Posts: 49
Registered: ‎11-11-2012
My Device: z10 LE
My Carrier: Digi

Drawing 'KML' coordinates (lat & lon) on Mapview

Hi,

 

possible to draw google map style (kml) using bb10/mapview?

 

thanks!

James Tan



James Tan
Eating my dog food - TripLogger, my 1st bb10 app.
Please use plain text.
Developer
jtegen
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: Drawing 'KML' coordinates (lat & lon) on Mapview

I've heard only Placemark tags will be supported (POI locations).
Please use plain text.
Developer
jameztcc
Posts: 49
Registered: ‎11-11-2012
My Device: z10 LE
My Carrier: Digi

Re: Drawing 'KML' coordinates (lat & lon) on Mapview

Tried anything with Placemark tags? I tried using webview and the result view is a mess (actual HTML viewed on desktop browser is alright).


James Tan
Eating my dog food - TripLogger, my 1st bb10 app.
Please use plain text.
Contributor
rob_bb10
Posts: 26
Registered: ‎06-09-2013
My Device: N serial
My Carrier: NIM

Re: Drawing 'KML' coordinates (lat & lon) on Mapview

LocationMapInvoker has the ability to parse KML format content and view location on map.

 

http://developer.blackberry.com/cascades/reference/bb__platform__locationmapinvoker.html#function-se...

 

also BB_CASCADES_MAPS_EXPORT bb::cascades::maps::smileyvery-happy:ataProvider *convertKmlContentToDataProvider (const QString &kmlContent), can convert KML to data provider.

But I can not find the declaration of convertKmlContentToDataProvider

 

http://developer.blackberry.com/cascades/reference/bb__cascades__maps.html

Please use plain text.