moagrius / MapView

(Deprecated, prefer https://github.com/moagrius/TileView) Android widget roughly described as a hybrid between com.google.android.maps.MapView and iOS's CATiledLayer
http://moagrius.github.com/MapView/documentation
69 stars 35 forks source link

Extra zoom feature #48

Closed frankowskid closed 11 years ago

frankowskid commented 11 years ago

Would it be possible to implement possibility to zoom over the maxzoom. I would mean to go with scale over 1.0 for max zoom. The reason is that on Galaxy S4, which has FullHD display, the pixels are very small and max zoom doesn't seem to be enough.

moagrius commented 11 years ago

setScaleLimits will allow zoom greater than 1, but I can't say I've tested it thoroughly.

moagrius commented 11 years ago

@frankowskid did this work for you? can I close this issue, or is anything else required?

frankowskid commented 11 years ago

Sorry for late replay. I've also haven;t tested it thoroughly. The zoom itself seems to work but the map center point is not maintained. I look like the right edge of a map is frozen an all the content is pushed to the left side.

moagrius commented 11 years ago

I'm not surprised - it was never intended to show any image greater than 100%, or less than 50%, and presumed new zoom levels would be used for a max value. That said, it probably would be pretty easy to get the bounds to update appropriate - I'll try to get this added for the next updated. Thanks for the feedback.

frankowskid commented 11 years ago

The reason I've requested this feature is that on new Galaxy S4 native resolution is too small to see details on the image.

Shusshu commented 11 years ago

What's the size of the img ?

moagrius commented 11 years ago

I looked into this and it's not a quick fix, but I do think it's a valuable feature. With the project rename, and some other API-breaking changes I'd like to implement, I'm going to close this for now and add it to a new feature list for the major upgrade ("TileView").

moagrius commented 11 years ago

TileView is now available, and supports max scale greater than 1