support for non-degree tilecache
is there an easy solution to get projected coordinates in getTileUrl() to construct a bbox-string for the url. I'd like to query tilecache.cgi to get the tileimages.
in openLayers i can specify my EPSG:31466 and bbox:2597500,5697500,259900,569900 to show my tiles, but in modest maps I get degree values (lowerLocation.lon)
in openLayers i can specify my EPSG:31466 and bbox:2597500,5697500,259900,569900 to show my tiles, but in modest maps I get degree values (lowerLocation.lon)
1
person has this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?Given a com.modestmaps.core.Coordinate, you can get the topleft lat-long from the map provider using provider.coordinateLocation(coordinate) – and get the bottom right lat-long of the tile using provider.coordinateLocation(coordinate.down().right()) – hope that helps build the right URL!
I’m hopeful
-
Inappropriate?Oops, I misunderstood. Currently the only projections we have implemented are linear and (naive) mercator – neither one uses the same kind of units you'd expect from EPSG implementations I'm afraid.
Perhaps someone could look at implementing projections and providers the way OpenLayers has it? OpenLayers uses the same BSD license as Modest Maps, and the javascript shouldn't be tricky to port to actionscript at all.
I’m apologetic
The company says
this answers the question
Loading Profile...



EMPLOYEE