[Geomoose-users] Dynamic Zoom

Brian Fischer bfischer at houstoneng.com
Wed Oct 17 14:14:43 PDT 2012


Yes, I think this would work great.  If you have code I can test.

Just a few questions stem out of this for me.  Could you have more than one URL in the zoom to?  For example it is pretty common for a local govt to want to have zoom to’s for a few different layers like City, Township and Landmarks.  I know I could setup searches for each one but it is really easy to use if they are just populated into a drop down like the zoom to and it one click away when the UI loads.

Brian Fischer, CFM
Principal | GIS Project Manager
Houston Engineering, Inc.
O 763.493.4522 | D 763.493.6664 | M 763.229.2734

From: geomoose-users-bounces at lists.osgeo.org [mailto:geomoose-users-bounces at lists.osgeo.org] On Behalf Of Dan Little
Sent: Wednesday, October 17, 2012 1:37 PM
To: Jim Klassen; geomoose-users at lists.osgeo.org
Subject: Re: [Geomoose-users] Dynamic Zoom

I was actually looking at sending out some code samples to Bob in Maine when I started looking at how the current code works.

There is not actually a specific UI holder there but a class (GeoMOOSE.UI.ZoomTo) that is instantiated and added to the UI after startup (main.js line 86).   It does not have any particular logic to avoid loading that class.

My suggestion would actually be to modify the GeoMOOSE.UI.ZoomTo class to have a "url" attribute.  or to add a CONFIGURATION['zoomto_url'] setting that would allow the zoom-tos to pull their data from a URL after the mapbook has loaded.  I think that would meet everyone's needs and fold the functionality into the main-line code.

Brian, does that make sense and get you what you ultimately need?

________________________________
From: Jim Klassen <klassen.js at gmail.com<mailto:klassen.js at gmail.com>>
To: geomoose-users at lists.osgeo.org<mailto:geomoose-users at lists.osgeo.org>
Sent: Wednesday, October 17, 2012 12:24 PM
Subject: Re: [Geomoose-users] Dynamic Zoom

My thoughts would be to implement this as part of a custom tab mostly
because I am worried about the future safeness of hooking into UI
elements outside of a new tab. UI wise, it is more obvious to the user
the way it is.

Do we have a clean/future safe way for extensions to hook into existing
UI elements other than creating a tab?

On 10/17/2012 11:33 AM, Dan Little wrote:
> I think it'd be good to look into the FilteringSelect Dijit for
> implementing something. :-) If you need, I could try to dig up some
> code for it but it's not terribly difficult to code.
>
>    ------------------------------------------------------------------------
>    *From:* "Bistrais, Bob" <Bob.Bistrais at maine.gov<mailto:Bob.Bistrais at maine.gov>>
>    *To:* "Basques, Bob (CI-StPaul)" <bob.basques at ci.stpaul.mn.us<mailto:bob.basques at ci.stpaul.mn.us>>;
>    Brian Fischer <bfischer at houstoneng.com<mailto:bfischer at houstoneng.com>>;
>    "geomoose-users at lists.osgeo.org<mailto:geomoose-users at lists.osgeo.org>" <geomoose-users at lists.osgeo.org<mailto:geomoose-users at lists.osgeo.org>>
>    *Sent:* Wednesday, October 17, 2012 11:30 AM
>    *Subject:* Re: [Geomoose-users] Dynamic Zoom
>
>    I’m not currently working on such an extension (tried a few
>    unsuccessful attempts), could certainly use this functionality.
>    Agree with Bob’s points, the highlighting in particular.
>    *From:*geomoose-users-bounces at lists.osgeo.org<mailto:geomoose-users-bounces at lists.osgeo.org>
>    [mailto:geomoose-users-bounces at lists.osgeo.org<mailto:geomoose-users-bounces at lists.osgeo.org>] *On Behalf Of
>    *Basques, Bob (CI-StPaul)
>    *Sent:* Wednesday, October 17, 2012 12:14 PM
>    *To:* Brian Fischer; geomoose-users at lists.osgeo.org<mailto:geomoose-users at lists.osgeo.org>
>    *Subject:* Re: [Geomoose-users] Dynamic Zoom
>    Brian,
>    I just tried it out and went to >> Municipalities >> Frost.
>    Highlighting of the Frost wasn’t obvious, upon closer inspection
>    though, I see the green outline (of Frost?). Would it make any
>    sense to add a highlighting option as a result set, possibly even
>    adding a label and or popup as optional configs.
>    When the list comes back from the Municipality selection (I assume
>    I can only select one at a time) you should just zoom
>    automatically to the location, the GO button could go away then.
>    Being able to select more than one item from the list might be a
>    good option to add if it is not already there. Probably not needed
>    for Cities or municipality selections, but for other items it
>    might be useful.
>    Works real nice as is too. :c) .
>    Bobb
>    *From:*geomoose-users-bounces at lists.osgeo.org<mailto:geomoose-users-bounces at lists.osgeo.org>
>    <mailto:geomoose-users-bounces at lists.osgeo.org<mailto:geomoose-users-bounces at lists.osgeo.org>>
>    [mailto:geomoose-users-bounces at lists.osgeo.org<mailto:geomoose-users-bounces at lists.osgeo.org>]
>    <mailto:[mailto:geomoose-users-bounces at lists.osgeo.org<mailto:geomoose-users-bounces at lists.osgeo.org>]> *On
>    Behalf Of *Brian Fischer
>    *Sent:* Wednesday, October 17, 2012 11:04 AM
>    *To:* geomoose-users at lists.osgeo.org<mailto:geomoose-users at lists.osgeo.org>
>    <mailto:geomoose-users at lists.osgeo.org<mailto:geomoose-users at lists.osgeo.org>>
>    *Subject:* [Geomoose-users] Dynamic Zoom
>    We have a couple viewers that were using a “Dynamic Zoom To”. It
>    looks like this code was re-written into an extension
>    (http://www.geomoose.org/extensions/DynamicZoom.html), but that it
>    only would work with a GeoMoose 2.4 interface because it is not
>    using the new Dojo interface and dropdown Dijit that is being used
>    for Zoom To in 2.6. So in conclusion this is not working with GM 2.6.
>    Before we try to tackle this code I just want to make sure no one
>    else has worked on upgrading this extension. Also do others like
>    how the Dynamic Zoom to’s work? If you want to see an example take
>    a look at the Zoom to in http://faribault.houstoneng.net/ . Any
>    other suggestions for an improved user experience that we should
>    consider?
>    Thanks,
>    Brian
>
>    *Brian Fischer, CFM*
>    Principal | GIS Project Manager
>    *O*763.493.4522 | *D* 763.493.6664 | *M* 763.229.2734
>
>    cid:image001.jpg at 01CC3702.356B79C0
>
>    6901 E Fish Lake Rd. , Suite 140 • Maple Grove, MN •55369
>
>
>
>
>    *www.houstoneng.com* <http://www.houstoneng.com/>**
>
>
>
>
>
>
>
>
>
>
>
>
>    This entire message (including all forwards and replies) and any
>    attachments are for the sole use of the intended recipient(s) and
>    may contain proprietary, confidential, trade secret, work-product,
>    attorney-client or privileged information. Any unauthorized
>    review, use, disclosure or distribution is prohibited and may be a
>    violation of law. If you are not the intended recipient, please
>    contact the sender by reply email and destroy all copies of the
>    original message.
>
>    _______________________________________________
>    Geomoose-users mailing list
>    Geomoose-users at lists.osgeo.org<mailto:Geomoose-users at lists.osgeo.org> <mailto:Geomoose-users at lists.osgeo.org<mailto:Geomoose-users at lists.osgeo.org>>
>    http://lists.osgeo.org/mailman/listinfo/geomoose-users
>
>
>
>
> _______________________________________________
> Geomoose-users mailing list
> Geomoose-users at lists.osgeo.org<mailto:Geomoose-users at lists.osgeo.org>
> http://lists.osgeo.org/mailman/listinfo/geomoose-users

_______________________________________________
Geomoose-users mailing list
Geomoose-users at lists.osgeo.org<mailto:Geomoose-users at lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/geomoose-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20121017/52a04a1e/attachment-0001.html>


More information about the Geomoose-users mailing list