NOTICE: is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

I am loading and testing very small area. But currently started TileMill is not centering on area with data, it displays map of the entire world. As it generates tiles it takes some time to reach area that I wanted to see.

Is there some way to provide parameters from program or edit some config file that I would not need to pan through entire world looking for this 5km x 5km area that is rendered?

asked 25 Jun '14, 06:42

Bulwersator's gravatar image

accept rate: 14%

edited 25 Jun '14, 06:42

There's a "project.mml" file that controls your layers; it is a JSON file that has, usually right at the beginning, a section like

"center": [

change these values to the coordinates and zoom level you require, and you'll be fine.

permanent link

answered 25 Jun '14, 07:02

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
accept rate: 23%


Is it possible to override it? This file is tracked by repository so I would prefer to not modify it - see

(25 Jun '14, 07:34) Bulwersator

Not that I'm aware of, but I find it pretty annoying too. If I knew how to write the plugins for Tilemill I'd create a bookmarks plugin, since every time I start work on openstreetmap-carto I spend minutes trying to pan and zoom to where I want to work.

(25 Jun '14, 08:48) Andy Allan

My search failed to find relevant ticket so I reported it as

Not that I expect implementation.

(30 Jun '14, 12:00) Bulwersator

You could try to work around this by stashing your "private" coordinates with Git.

See: Git - Stashing

(30 Jun '14, 12:18) cartinus

I will also try exporting from command line - see

(30 Jun '14, 16:25) Bulwersator

This is one of the reasons I wrote the (tiny, hackish) Sputnik, so that map views could be bookmarkable:

(30 Jun '14, 21:50) Richard ♦
showing 5 of 6 show 1 more comments

Follow this question

By Email:

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



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "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:


question asked: 25 Jun '14, 06:42

question was seen: 2,724 times

last updated: 30 Jun '14, 21:50

NOTICE: is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum