[ka-Map-users] Same API, but map images instead of tiles

Joe Franklin traderboy at yahoo.com
Mon Sep 19 15:32:39 EDT 2005


That's what I'm trying to do.  I want to be able to
display/hide vector layers listed in the legend
without creating all the tiles for the vectors.  I
created a drawing canvas that retrieves the
vector-only layers whenever the map extent is changed.
 The advantage I see is that I only have to create
tiles for my raster background.  I can then draw all
the vector layers separately and return them in one
gif/png.  Plus I can get images from a WMS as well. 
It looks like it can be done without adding too much
code (javascript is not a lot of fun!)  Does this make
sense to separate the raster and vector layers?  

Steve (hmm, lots of steves in this group)

>>I wonder if you couldn't just take advantage of
ka-map's feature drawing
>>ability (it has that right?). That is, tie a URL
(more precisely a URL template)
>>to the center of the view port (image coords) and
that URL generates a
>>map the same size as the viewport. You could have a
template model that
>>would allow access to the viewport size and current
extent. 
>>
>>  e.g.
http://someserver.somplace/cgi-bin/mapserver?...&extent=ka-map-extent&mapsize=ka-map-width+ka-map-height
>>
>>If you could  control a features z-index then you
could use this to place 
>>background or foreground maps. This would be kinda
like MapServer's 
>>inline layers. Wouldn't impact the tiling at all...
>>
>>Steve



		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com


More information about the ka-Map-users mailing list