[Geoprisma-users] New Widgets Ideas

Stephen Woodbridge woodbri at swoodbridge.com
Fri Dec 4 10:11:56 EST 2009


Alexandre Dube wrote:
> Hi Stephen,
> 
>  It is recommended to checkout the trunk version of GeoPrisma when 
> developping new widgets.  Contributions are welcomed.  There's a new 
> "how to create new widgets" topic in doc, it would be nice to have you 
> try it and comment.  Use the Trac to create tickets.

Ok, will start using trac. If I get to the point where I understand how 
all this works, I'll certainly try my hand at creating some widgets. And 
I'll look at your how to.

>  Also, for development discussions, you can use the dev mailing list.
> 
>  More comments below :
> 
> 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.

>> 2) A permalink widget that might extend the initalView widget with a 
>> list of layers on/off. I would be nice if it could be placed in the 
>> geoexttoolbar or a separate div somewhere.
> OpenLayers has a Permalink control.  Would it be possible to integrate 
> it in GeoPrisma ?

I was thinking the same thing.

-Steve


More information about the Geoprisma-users mailing list