DroidPlanner / Tower

Ground Control Station for Android Devices
https://play.google.com/store/apps/details?id=org.droidplanner.android
Other
619 stars 554 forks source link

Mapbox maps not displaying features - Incorrect reference #1734

Open MarioSpeedwagon opened 8 years ago

MarioSpeedwagon commented 8 years ago

Using Tower on Android, "Layers" are properly displayed, but "Features" are not. Conversation with tech support to follow-

For some reason, tower doesn't display mapbox anymore under "map provider", but you can still go in to the next option and select mapbox, instead of google earth. It requests your mapbox ID and access token.

I'm definitely using the mapbox map and can see the raster layers, but not the features. I have no idea what version of the SDK I'm using.

Dan Swick - Mapbox to me Hi Derrick,

Thanks for the clarification. A couple of things:

  1. I went ahead and tested a couple of Map ID's through the app. It's difficult for me to tell without seeing your code, but it looks like you're using the Google Maps Android API to display Mapbox raster tiles, not the Mapbox Android SDK.
  2. When you add features in Mapbox Editor, we store them as raw GeoJSON. Mapbox.js can read these features and automatically display them as overlays on top of a basemap. Google Maps for Android isn't designed to handle these features and will instead only display the underlying basemap. The Mapbox Android SDK won't automatically handle these overlay features either, but you can parse them yourself using the methods I linked to in my previous email.
  3. Our terms of service require providing proper attribution for any Mapbox maps, even if they're displayed using a third-party tool such as Google Maps.

Can you take a look at some of the links above and let me know if you have any additional questions? Thanks! Dan