nodetiles / nodetiles-core

Render Leaflet compatible map tiles and UTFGrids using node-canvas on Heroku
BSD 3-Clause "New" or "Revised" License
47 stars 22 forks source link

Split out `projector.utils` #57

Open Mr0grog opened 11 years ago

Mr0grog commented 11 years ago

The utils in projector should probably be split into a different module. Most of them are related to projecting between 4326 <--> 900913, which could easily be split out on their own.

Also, given the comment in https://github.com/nodetiles/nodetiles-core/blob/56f16438b27600d4407e40e201e60dae5f60cb3b/lib/projector.js#L17, we should look and see whether it would make sense to just use node-sphericalmercator (one question: feasible for browsers? see #21).