[Geomoose-users] Jump To and Change Layer visibility
Brent Fraser
bfraser at geoanalytic.com
Mon Mar 19 10:54:46 EDT 2012
Zery,
If you what GeoMoose to automatically turn layers on (and off) when
the user selects an entry from the "Zoom To" list, you'll have to do
some JavaScript coding. GeoMoose provides a place (User Extensions) for
your code, and the ability to call GeoMoose functions (the GeoMoose
API). This email may give you some ideas:
http://lists.osgeo.org/pipermail/geomoose-users/2011-May/003079.html
Best Regards,
Brent Fraser
On 3/19/2012 8:25 AM, Zery wrote:
> On 3/19/2012 10:00 PM, Eli Adam wrote:
>> For many OSGeo projects (and others too), you can search the lists
>> through nabble, http://osgeo-org.1560.n6.nabble.com/ (or
>> http://www.nabble.com/ and click on OSGeo). I'll try to make a note
>> in the documentation about that.
>>
>
> Thanks for the links, it saves me hundred of clicks.
>
>> This documentation has some details specific to some previous Oregon
>> customizations. Probably the best documentation for setup (and
>> specifically zoom to) would be
>> http://geomoose.org/docs/configuration.html#zoomto
>>
>> The "Jump To"/"Zoom To" function is to have spatial bookmarks. You
>> click on something (like a city name) and it zooms to display the
>> spatial extent of that city. It looks like you config has mixed
>> projections. You'll want to use the projection of your
>> http://geomoose.org/docs/configuration.html#projection also in
>> settings.ini file. When you say nothing happens, does that mean that
>> you map doesn't have the 'Jump To:' dropdown with Area1,2,3? Or that
>> clicking on those doesn't change the extent?
>>
>
> I'm sure I have read those link many times, from the example it has
> groups of zoom to,
>
> 'Communities':['static:rural',[
> ['Arch Cape',[7317188,796289.34000000,7322479,805653]],
> ['Bradwood',[7455671,934752.42000000,7459244,937982]],
> ['Cannon Beach Junction',[7329878,845037,7334717,850082]]]]
>
> when I try to use groups on my Jump To function it doesn't change the
> extent and it only shows 'Communities' but Arch Cape and the others
> are not. How did this groups really works?
>
>> There is nothing preconfigured to change layer visibility with zoom to
>> extents (unless that also changed scales and there was scale
>> dependencies on the layers).
>>
>> HTH, Eli
>
> Thank you Eli, I've learned recently that it was a MapFile scale
> configuration that did the tricks.
>
> I know this had been talk alot but here it goes, I hope someone out
> there had the time to wrote a comprehensive step-by-step manual. Maybe
> with an example project building webgis with geomoose. What to do
> first, where to go next, which file had to be edited, what is the use
> of one function, how to track an error, etc (too much huh :-) )
>
> My experience on using geomoose for the first time and as not a webgis
> specialities, using the available documentation really had make me
> almost going nowhere. I'm sorry for throwing so much demand.
>
>
> Regards,
> Zery
> _______________________________________________
> Geomoose-users mailing list
> Geomoose-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geomoose-users
>
More information about the Geomoose-users
mailing list