[ka-Map-users] scaled image\icon overlay
semerau at hotmail.com
semerau at hotmail.com
Thu Oct 18 11:10:36 EDT 2007
I guess I could create separate sized images, one for each zoom level, and overlay a particular once based on the zoom level. That would kind of be a lot of work but I suppose that would work.
Or maybe I can just use javascript to stretch or shrink the image based on zoom level.
From: semerau at hotmail.com
To: ka-map-users at lists.maptools.org
Date: Wed, 17 Oct 2007 09:45:05 -0600
Subject: [ka-Map-users] scaled image\icon overlay
I see from the docs that only line and polygon overlays are scaled to the map. Is there a way to scale an image or an icon overlay to the map? I realize this is basically what mapserver does, but I would like to do this through ka-map so I can have better control over when\whether the image is displayed.
For example, I would like to put an overlay image of an airport over the place on the map where the airport is, and then when you zoom in and out, the image of the airport overlays also zooms in and out. The image of the airport will change often and often won't even be displayed. I don't want to put the airport image on the map tile itself because then I would have to set the caching of ka-Map so some low duration, but I still wouldn't be able to control exactly when the airport image changes in the browser.
Any suggestions would be appreciated.
Peek-a-boo FREE Tricks & Treats for You! Get 'em!
_________________________________________________________________
Climb to the top of the charts! Play Star Shuffle: the word scramble challenge with star power.
http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_oct
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/ka-map-users/attachments/20071018/6e192e27/attachment-0001.html
More information about the ka-Map-users
mailing list