Error when trying to center map
I followed the tutorial for zoomifymap and used the following code to center it all: container.map.setCenterZoom(new Location(0, 0), 2);
Then i get a lot of the X-tiles and the following error:
Error opening URL 'http://server/MyMap/www/images/TileGroup0/2-10--1.jpg'
Error opening URL 'http://server/MyMap/www/images/TileGroup0/2-9--1.jpg'
Error opening URL 'http://server/MyMap/www/images/TileGroup0/2-10--2.jpg'
Error opening URL 'http://server/MyMap/www/images/TileGroup0/2-9--2.jpg'
Error opening URL 'http://server/MyMap/www/images/TileGroup0/2-11--2.jpg'
Error opening URL 'http://server/MyMap/www/images/TileGroup0/2-11-0.jpg'
Error opening URL 'http://server/MyMap/www/images/TileGroup0/2-7--2.jpg'
Error opening URL 'http://server/MyMap/www/images/TileGroup0/2-9-0.jpg'
Error opening URL 'http://server/MyMap/www/images/TileGroup0/2-10-0.jpg'
Error opening URL 'http://server/MyMap/www/images/TileGroup0/2-11--1.jpg'
Error opening URL 'http://server/MyMap/www/images/TileGroup0/2-8--2.jpg'
Error opening URL 'http://server/MyMap/www/images/TileGroup0/2-7-0.jpg'
Error opening URL 'http://server/MyMap/www/images/TileGroup0/2-8-0.jpg'
Error opening URL 'http://server/MyMap/www/images/TileGroup0/2-7--1.jpg'
Error opening URL
And when panning and zooming a lot more of these errors show up. Why does the application try to find tiles that don't exist.
Then i get a lot of the X-tiles and the following error:
Error opening URL 'http://server/MyMap/www/images/TileGroup0/2-10--1.jpg'
Error opening URL 'http://server/MyMap/www/images/TileGroup0/2-9--1.jpg'
Error opening URL 'http://server/MyMap/www/images/TileGroup0/2-10--2.jpg'
Error opening URL 'http://server/MyMap/www/images/TileGroup0/2-9--2.jpg'
Error opening URL 'http://server/MyMap/www/images/TileGroup0/2-11--2.jpg'
Error opening URL 'http://server/MyMap/www/images/TileGroup0/2-11-0.jpg'
Error opening URL 'http://server/MyMap/www/images/TileGroup0/2-7--2.jpg'
Error opening URL 'http://server/MyMap/www/images/TileGroup0/2-9-0.jpg'
Error opening URL 'http://server/MyMap/www/images/TileGroup0/2-10-0.jpg'
Error opening URL 'http://server/MyMap/www/images/TileGroup0/2-11--1.jpg'
Error opening URL 'http://server/MyMap/www/images/TileGroup0/2-8--2.jpg'
Error opening URL 'http://server/MyMap/www/images/TileGroup0/2-7-0.jpg'
Error opening URL 'http://server/MyMap/www/images/TileGroup0/2-8-0.jpg'
Error opening URL 'http://server/MyMap/www/images/TileGroup0/2-7--1.jpg'
Error opening URL
And when panning and zooming a lot more of these errors show up. Why does the application try to find tiles that don't exist.
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?Hi!
If You use zoomifymap tutorial, so I guess You use Your own map. You have to set the setCenterZoom on location where Your map is (real Lan and Lon). Mine looks like this:
container.map.setCenterZoom(new Location(55.230000, 18.690000), 6);
When You set setCenterZoom to 0,0 ModestMaps shows the 0,0 location (next to Africa?) I suppose Your map isn't there. And then comes the error...
Regards
P
I’m happy
1 person says
this answers the question
Loading Profile...



