[mapserver-users] Newbie question about sizing and panning
woodbri at swoodbridge.com
woodbri at swoodbridge.com
Tue Sep 24 14:15:45 PDT 2002
Not sure of the best way, but if you have your data in a shape file
then you can get the extents of the shape file and zoom mapserver to
those extents. You would have to do most of these steps in Mapscript.
Or you could make a list of the names and extents for each state and
build them into a pop-up list and use javascript to issue direct the
browser to a new url that would be the extents from the list.
Probably other ways also :)
-Steve
On 24 Sep 2002 at 13:56, Tom Price wrote:
>
> I'm new this product and I have downloaded several of the Tiger
> county shape files. I'm looking for a way after selectinga given
> fileto "go to state" programmatically; that is, I want to be able to
> position and scale the map so that the selected state fills the entire
> map area. What is the best way to accomplish this?
>
>
> Do you Yahoo!?
> New DSL Internet Access from SBC & Yahoo!
More information about the MapServer-users
mailing list