Recent activity
Subscribe to this feed
tom asked a question in Modest Maps on November 09, 2009 23:46:
getTileUrls gets different BBOX from map extentI don't understand how the getTileUrls are getting the BBOX. I'm trying to retrieve my map from a WMS map provider. The getTileUrls keeps getting the wrong bbox.
My map extent is MapExtent( 0.043075 , 0.0 , 90.0 , 90.064325 )
I set the center of the map to:
map.setCenter(new Location(0.0,90.0));
Here is the result when I launch the map it request these tiles:
&BBOX=-90.02197,0.04395,-90.00000,0.06592
&BBOX=-90.02197,0.02197,-90.00000,0.04395
&BBOX=-90.02197,0.00000,-90.00000,0.02197
&BBOX=-90.00000,0.04395,-89.97803,0.06592
&BBOX=-90.00000,0.02197,-89.97803,0.04395
&BBOX=-90.00000,0.00000,-89.97803,0.02197
&BBOX=-89.97803,0.04395,-89.95605,0.06592
&BBOX=-89.97803,0.02197,-89.95605,0.04395
&BBOX=-89.97803,0.00000,-89.95605,0.02197
&BBOX=-89.95605,0.04395,-89.93408,0.06592
&BBOX=-89.95605,0.02197,-89.93408,0.04395
&BBOX=-89.95605,0.00000,-89.93408,0.02197
&BBOX=-89.93408,0.04395,-89.91211,0.06592
&BBOX=-89.93408,0.02197,-89.91211,0.04395
&BBOX=-89.93408,0.00000,-89.91211,0.02197
&BBOX=-90.35156,0.00000,-90.00000,0.35156
&BBOX=-90.00000,0.00000,-89.64844,0.35156
&BBOX=-90.04395,0.04395,-90.02197,0.06592
&BBOX=-90.04395,0.02197,-90.02197,0.04395
&BBOX=-90.04395,0.00000,-90.02197,0.02197
When I click the center of the map to get the location I get the correct spot, but the url request are requesting the wrong spot.
TESTING:0.030426979064929475 90.00004291534424
If I move my map extent to MapExtent( 0.043075 , 0.0, -90, -89.935675 ), it will work - my map will show up.
tom asked a question in Koordinates on March 16, 2009 02:13:
Question about map appIs it possible for me to get the source code for this map application?
http://www.heritagewalks.co.nz/rw/akl...
The site said the map was made by Koordinates. The interface look very nice. I was wondering if I can get something similiar to them.
Loading Profile...
