I have tried setting this in my codes to set the minimum and maximum zoom levels for viewing on the android platform:

MyTileSource myTiles = new MyTileSource( "" + tID, null, 14, 16, 256, ".png");

This is an example of what I've done to try and limit the zoom levels between 14 and 16.

From this question, I understand that there is a work around which is to manually edit the files in the package.

However, I currently have 2 different MapView activities catered for different viewing, thus I am unable to define a global settings in the library package file. What should be the right way to get the above codes to work in setting the minimum/maximum zoom?

asked 31 Jan '13, 15:56

lyk's gravatar image

lyk
41446
accept rate: 0%

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×86
×79
×42

question asked: 31 Jan '13, 15:56

question was seen: 4,602 times

last updated: 31 Jan '13, 15:56

powered by OSQA