答复: [maptiler] Set number of zoom levels

240 views
Skip to first unread message

张白玉

unread,
Mar 26, 2013, 10:19:09 AM3/26/13
to mapt...@googlegroups.com

May be you can add this code:

 

LocalMapType.prototype.maxZoom = 12;//max zoom

LocalMapType.prototype.minZoom = 4;//min zoom

 

============================================


发件人: maptiler+bncbc52zlhax...@googlegroups.com [mailto:maptiler+bncbc52zlhax...@googlegroups.com] 代表 Wyler Yerrachione
发送时间: 2013年3月26 16:45
收件人: mapt...@googlegroups.com
主题: [maptiler] Set number of zoom levels

 

How do I set the number of zoom levels to be created in map tiler?  It seems to be automated, but what if I went to manually affect the setting?  Currently I am only getting tiles for zoom levels 7, 8, and 9. 

 

Thanks!

Wyler.

--
You received this message because you are subscribed to the Google Groups "MapTiler User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to maptiler+u...@googlegroups.com.
To post to this group, send email to mapt...@googlegroups.com.
Visit this group at http://groups.google.com/group/maptiler?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Wyler Yerrachione

unread,
Mar 27, 2013, 10:30:14 PM3/27/13
to mapt...@googlegroups.com
Maybe I'm missing something - where would I add that code ?


On Tuesday, March 26, 2013 7:19:09 AM UTC-7, xin...@163.com wrote:

May be you can add this code:

 

LocalMapType.prototype.maxZoom = 12;//max zoom

LocalMapType.prototype.minZoom = 4;//min zoom

 

============================================

发送时间: 2013年3月26 16:45
收件人: mapt...@googlegroups.com
主题: [maptiler] Set number of zoom levels

Petr Pridal

unread,
Apr 5, 2013, 6:37:37 AM4/5/13
to mapt...@googlegroups.com
Hi,

We will add selection of Zoom levels into one of new releases of the MapTiler under Mac.

A new updated release 0.3.1 has just been submitted to Apple for review - with several fixes and option for TMS tiling scheme for improved back-compatibility.

Regards,

Petr Pridal
Klokan Technologies GmbH

On Friday, April 5, 2013 12:13:03 PM UTC+2, Robert Fisch wrote:
I'm also interested in the answer ...

Wyler Yerrachione

unread,
Apr 11, 2013, 11:39:55 PM4/11/13
to mapt...@googlegroups.com
How are the zoom levels available currently calculated?  By some resolution check against the starting raster?

Klokan Petr Pridal

unread,
Apr 12, 2013, 2:49:41 AM4/12/13
to mapt...@googlegroups.com
Dear Wyler,

We documented the Spherical Mercator tile system used in Google Maps at:


The native zoom level is calculated from the resolution of the input 
raster (how many meters per pixel it has). Look at the "Map Scale" 
table in the documentation of Spherical Mercator from Microsoft: 
http://msdn.microsoft.com/en-us/library/bb259689.aspx 

By default a zoomlevel with the closest smaller resolution is used as 
the deepest one (maxz). The minimum zoom level (minz) is the one where 
whole input raster is not bigger then the area of one tile. 

Petr
Reply all
Reply to author
Forward
0 new messages