X

Sign in

Forgotten your password?

... or login with Facebook:

Don't have an AndroidPIT account yet? Sign up
Android Forum » Android Developer Forum » Android Developer Forum » draw vector data(map) in android

draw vector data(map) in android

draw vector data(map) in android
created on Jan 26, 2013 12:42:29 PM
Hi:

We want to build a lbs app like google map in android. Since we have our own map source data.

Then we meet some problems which make we can not start the developement.

Since we use the map tiles(create the images with 256x256px and load them accordingly) in the PC. But the tiles take too many space which is not suitable for mobile device. Then we want to display the map based on vector data(google have implement this).

Now we do not know how to draw vector object in android. In fact we just need to draw points,lines and polygons. Also we want to implement the 3d view like google map if possible.

Then any ideas? Any useable library or something else?

BTW,we also want to create a similar app on IOS,so we appreciate if we can build a common re-useable library(maybe use c),the we buitild our app based on this library (it seems that the andorid ndk support call native .so library in java isn't it?)

Is this possible?
Reply with quote Reply Link ±0     (0 votes)
RE: draw vector data(map) in android
created on Mar 7, 2013 8:01:42 PM
Implement you own View and override the draw method. You then have a Canvas to draw on.
Reply with quote Reply Link ±0     (0 votes)
RE: draw vector data(map) in android
created on Apr 2, 2013 8:34:47 AM
Hi, does the opengl-es have a better performance than canvas?
Reply with quote Reply Link ±0     (0 votes)