How can i load a kmz file into azure maps android ?

FRANCISCO JOSÉ PINTO TORRES 20 Reputation points
2023-02-07T14:18:29.18+00:00

So, i want to load a kmz map into my azure map, is that possible ?

If it is, can i grab my N, S, E, W from the kmz file or do i need to have some source to give me that information ?

I can add a photo from my kmz "bundle", but when i try to add from a kmz it won't load.

Azure Maps
Azure Maps
An Azure service that provides geospatial APIs to add maps, spatial analytics, and mobility solutions to apps.
587 questions
0 comments No comments
{count} votes

Accepted answer
  1. rbrundritt 15,231 Reputation points Microsoft Employee
    2023-02-07T14:31:05.98+00:00

    There is no support for KMZ files out of the box in the Android SDK. To use KMZ files with the Azure Maps Android SDK you would need to use a separate library that can parse the KMZ file, and then convert that data to GeoJSON, and load the images in separately. I worked on the Spatial IO module for the Azure Maps Web SDK and I'll be honest, it is a lot of work to achieve.


1 additional answer

Sort by: Most helpful
  1. FRANCISCO JOSÉ PINTO TORRES 20 Reputation points
    2023-02-07T15:23:55.32+00:00

    And what about that geoJson, i think i can convert my KMZ into geoJSON, but what should my geoJson have in order to achieve that? I want to make the ground look like an ortho photo. Sorry if im wrong, but i cant see relation in the kmz and geoJson. Please give me some hint if u can.