[Cartoweb-users] external link to a given extent

Frederic Back fredericback at gmail.com
Tue Oct 2 04:26:40 EDT 2007


Hello,

I need to provide an external, direct link to some of the features in my
map. When clicked, cartoweb should load and center on the given map
extent. 

I currently see two ways of implementing this:
     A. Pass the map extent through ENV and read it in
        Cartoclient::getInitialMapState
     B. Extend Cartoclient and overwrite getInitialMapState

Is there a better approach? How did you/would you implement this
feature?

Thanks,
Fred



More information about the Cartoweb-users mailing list