Newbie questions / mapExtent / missing tiles / zoom-limit
Hello,
I'm really new to modestmaps and I am having some trouble figuring pretty basic stuff out. So I was hoping, you guys could maybe answer some questions for me:
—What exactly does mapExtent do? I figured, it would set the outer boundries of my (custom) map, but that doesn't really seem to work so well.
In the sampleClient2, three locations are being passend onto the function:
container.map.setExtend([new Location(66.4994, 25.692666),
new Location(66.491170, 25.726891),
new Location(66.502030, 25.747029)]);
but I've I'm trying to use it this way inside my class, I'll get a "type-mismatch"-error.
On the opposite, if I'm using it, as suggested by the sampleClient1:
__map.setExtent(new MapExtent(37.829853, 37.700121, -122.212601, -122.514725));
the zoom-factor of my map is somehow way to low and a lot of "empty" space (—no tiles existing) besides my custom map is visible
—Something seems to limit my max zoomlevel to 6 and since I've been building my own client on top of the sampleClient1.as, I'm kinda hoping, I'd have missed some settings from the former client. My custom map-tiles should allow up to 14 zoom-levels, if I've gotten that right.
Information: Since "mapExtent" doesn't really work, I'm currently using "setCenterZoom" with a higher zoom-level to compensate
—I've been using two different custom maps so far and followed the ACtransit-tutorial to the point. The first time (map-width:10.000px->PSD-file) everything went fine, the second time (map-width:>20.000px->JPG-file) I'm missing certain parts of tile-rows in certain zoom-levels.
I initially thought, it could be a problem with the zoomifyer-app. and re-tiled the map again, but the problem remained the same
***
I know that's a lot of questions, but I'd be really greatful, if someone could help me out.
I'm trying to get to understand this great tool, but it's a bit tricky to get behind the curtain.
Thanks for all your help,
—trice
I'm really new to modestmaps and I am having some trouble figuring pretty basic stuff out. So I was hoping, you guys could maybe answer some questions for me:
—What exactly does mapExtent do? I figured, it would set the outer boundries of my (custom) map, but that doesn't really seem to work so well.
In the sampleClient2, three locations are being passend onto the function:
container.map.setExtend([new Location(66.4994, 25.692666),
new Location(66.491170, 25.726891),
new Location(66.502030, 25.747029)]);
but I've I'm trying to use it this way inside my class, I'll get a "type-mismatch"-error.
On the opposite, if I'm using it, as suggested by the sampleClient1:
__map.setExtent(new MapExtent(37.829853, 37.700121, -122.212601, -122.514725));
the zoom-factor of my map is somehow way to low and a lot of "empty" space (—no tiles existing) besides my custom map is visible
—Something seems to limit my max zoomlevel to 6 and since I've been building my own client on top of the sampleClient1.as, I'm kinda hoping, I'd have missed some settings from the former client. My custom map-tiles should allow up to 14 zoom-levels, if I've gotten that right.
Information: Since "mapExtent" doesn't really work, I'm currently using "setCenterZoom" with a higher zoom-level to compensate
—I've been using two different custom maps so far and followed the ACtransit-tutorial to the point. The first time (map-width:10.000px->PSD-file) everything went fine, the second time (map-width:>20.000px->JPG-file) I'm missing certain parts of tile-rows in certain zoom-levels.
I initially thought, it could be a problem with the zoomifyer-app. and re-tiled the map again, but the problem remained the same
***
I know that's a lot of questions, but I'd be really greatful, if someone could help me out.
I'm trying to get to understand this great tool, but it's a bit tricky to get behind the curtain.
Thanks for all your help,
—trice
2
people have 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?—Anyone? (Sorry for pushing...)
-
Inappropriate?1) Not sure about mapExtent ... I haven't come across it.
2) In my experience the zoom is unbounded unless you put bounds on it. I think this is done with the __topLeftOutLimit and __bottomRightInLimit of your map provider.
3) I haven't used the zoomify tile cutter. I'd just be sure you are using the calculator correctly.
Loading Profile...



