Hello,

I have a few different shape files at different resolutions that I want to load based on the extent of the map the user is viewing.

So if they are viewing the entire country for instance I want to load in my low resolution data set.

The problem I'm having is that if a user zooms in on the map I have to create the map object using the map file which specifies which shapefile I am using, then use phpmapscript to zoom in, and then retrieve the extent using phpmapscript functions. This obviously doesn't help me load in the appropriate shapefile because I have to create the map object in order to do any of the previous steps. A bit of a paradox - load in the shapefile only to find out that I might have wanted to use a different shapefile...

So the short question is how can I zoom in and get the extent before loading the shapefile?

thanks,

boice


////////////////////////////
Run Skip
http://runskip.com/

boice tomlin

[EMAIL PROTECTED]

503-528-6204


Reply via email to