[Geoprisma-users] initial position solved (was: New Widgets Ideas)

Stephen Woodbridge woodbri at swoodbridge.com
Fri Dec 4 10:46:38 EST 2009


Stephen Woodbridge wrote:

>> Stephen Woodbridge wrote:
>>> 1) initialView widget that x,y,zoom and positions the map to that 
>>> location and zoom on initial load. You should also be able to pass 
>>> the x,y,zoom on the url.
>> You could do that directly in your template.xslt file.  Replace the 
>> oMap.zoomToMaxExtent() for your initial load.
> 
> Yeah, I found this and tried it. The zoom part works, but the 
> positioning seems to be off. I you load 
> http://imaptools.com:8080/project/myproj/
> that should zoom to the center of the map objects. Zoom out three steps 
> and you will see the features.double click on them to recenter and then 
> zoom in.
> 
> I'm not sure if this is a bug or the fact that the template is not 
> installing the widgets correctly.

Solved! this was a typo in the initial coordinates <seesh> That is what 
I get for working so late at night on this stuff.

http://imaptools.com:8080/project/myproj/

-Steve


More information about the Geoprisma-users mailing list