rlbstr
rlbstr

Reputation: 263

Any way to change the Map used by Google Maps API in Android?

I'm trying to make an Android application that will display a map of a local area only (a big building and surroundings), and I want to know if it's possible to take the Google Maps API and modify the map it's using to be the map I made myself.

If this cannot be done, I will ask my question in a broader sense: How can I create an interactive map app for Android that will use an image made by myself?

Upvotes: 0

Views: 327

Answers (1)

CommonsWare
CommonsWare

Reputation: 1007340

I want to know if it's possible to take the Google Maps API and modify the map it's using to be the map I made myself.

Not through the Google Maps add-on for Android.

How can I create an interactive map app for Android that will use an image made by myself?

The same way you implement 2D games: draw it yourself, probably using the Canvas 2D API.

It is possible that there is a third-party library for handling this. For example, you might peek at the OSMDroid code, as that is open source and handles map tiles coming from OpenStreetMap. In theory, one should be able to create a general purpose "map" widget with pluggable tile sources, where the widget handles pan, zoom, etc.

I note that you have the app-inventor tag on this question -- App Inventor is going to be incapable of doing this any time soon.

Upvotes: 1

Related Questions