[Cartoweb-users] How to set extent properly

Gambin Dejan Dejan.Gambin at pula.hr
Wed Jul 20 01:48:29 EDT 2005


Hi,

It is probably a stupid simple thing but my map is not showing all the
data at full extent. I have 

EXTENT 5404200.000000 4965100.000000 5414801.000000 4974500.000000

defined in my_map.map file and 

mapInfo.initialMapStates.default.location.bbox = "5404200, 4965100,
5414801, 4974500"

defined in my_map.ini file. I am displaying a polygon shapefile that has
extent of 5404797 4966046 5414801 4974248 but it is not shown completely
on my map. The coords are not the same, for example max x coord on map
is 4967680 (it should be 4974500). 

Any help?

thanks and regards

dejan gambin



More information about the Cartoweb-users mailing list