udoprog / c10t

A minecraft cartography tool
Other
225 stars 50 forks source link

Write custom center to json file #228

Closed uap-universe closed 12 years ago

uap-universe commented 12 years ago

This is question of how to define the "center" of a map. Now the center is always 0,0 and the json file will contain the related image coordinates. This has some advantages, but is not suitable for some cases.

Assume you have a big map and you want to render multiple images - say you want to render different continents and let each capital city be the "center".

You might wanna call something like ./c10t <some option> -R 128 --center x,y

It would be really nice, to have this custom center within the json data, so that e.g. the google maps api can center the map where the user wants to have the center.

I would implement this, with your OK @udoprog .

udoprog commented 12 years ago

Sounds nice, go ahead

On Sat, Jan 7, 2012 at 5:03 PM, UniversE < reply@reply.github.com

wrote:

This is question of how to define the "center" of a map. Now the center is always 0,0 and the json file will contain the related image coordinates.

Now assume you have a big map and you want to render multiple images - say you want to render different continents and let their capital city be the "center".

You might wanna call something like ./c10t -R 128 --center x,y

It would be really nice, to have this custom center within the json data, so that e.g. the google maps api can center the map on this user specified center.

I would implement this, with your OK @udoprog .


Reply to this email directly or view it on GitHub: https://github.com/udoprog/c10t/issues/228