Question

I am working in Indoor Positioning System .. It will be an android app like this I am trying to make custom View for displaying the map, First step I make a Scrollable ImageView following article called 'A simple implementation of a scrollable ImageView'

The problem is when I put a marker in the map (using another ImageView for marker), When I start scrolling .. the markers start disappearing like this

So can any one help me ? I want markers to stick into the map and only the map scroll (I mean like Google Maps)

Was it helpful?

Solution

For creating map, Canvas is a better option, in canvas you can implement scroll,zoom,rotation etc. In canvas it supports any number of bitmaps, and also we can draw programmatically within the canvas.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top