Can the map control support layers of tiles
I would like to use Modest Maps in a similar fasion to openlayers www.openlayers.org It would use one of your existing tile providers as a base map and then make additional requests to a WMS server or another tile cache to use as overlays.
Can Modest maps support this?
Can Modest maps support this?
4
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?I've only used the AS3 version, but there it looks like you could add another TileGrid to a map. By default, in com.modestmaps.Map, there is one TileGrid (grid) that is created in the constructor and added to the stage. You could add another one, grid2 to a subclass of Map. Then, override all the setters/update functions where methods are being called on grid, and update grid2 as well. An even better solution would be to build a system that manages an array of tile grids and marker clips.
Or, you could just put one map on top of the other, listen for change events, and update the bottom map when needed to keep them in sync. Seems like that might not perform as well, but you never know. Might be worth trying.
Then, the other thing you must do, of course, would be to make a custom tile provider for your tile server. Unfortunately, I am not yet an expert on that subject. -
Inappropriate?tkdave,
thanks for the response. I am learning flex 2 right now so I am very new to actionscript. I have no idea how to implement your suggestions, but I am glad it sounds possible.
Arrays of tilegrids and marker clips +1.. That is exactly what I need. As I muddle through this I will update the site with my progress.
Thanks
I’m not knowing where to start
Loading Profile...



