[Geomoose-users] configuring scaleLine.js

Jim Klassen klassen.js at gmail.com
Tue Jul 28 10:29:14 PDT 2015


I am not familiar with any GeoMoose extensions to do that (nor have I
ever looked for one). 

My strategy has been to create a mapfile that the sole purpose is to
draw a scalebar.  Then place it in the mapbook so it is on top of the
stack and optionally put it in the catalog (if you want users to be able
to turn it on and off).  As a bonus, the scalebar is then automatically
printable.

I don't have the mapfile handy now, but it is along the lines of:

MAP
  ...
  SCALEBAR
     ...
  END
  
  # Empty layer needed for WMS 
  LAYER
    NAME 'scalebar'
  END
END

On 07/28/2015 11:54 AM, Bistrais, Bob wrote:
> Thanks for the response, Brent.  I haven't found ScaleLine.js either.
> But then, how do I get a scale bar to appear?
>
> From: Brent Fraser [mailto:bfraser at geoanalytic.com]
> Sent: Tuesday, July 28, 2015 12:36 PM
> To: Bistrais, Bob; geomoose-users at lists.osgeo.org
> Subject: Re: [Geomoose-users] configuring scaleLine.js
>
> Bob,
>
> Looks like the ScaleLine object was deprecated in v2.6 (http://www.geomoose.org/releases/2.6.html), and it was suggested to use the ScaleLine.js extension, which I never found (http://lists.osgeo.org/pipermail/geomoose-users/2013-April/004895.html)
>
>
>
> Best Regards,
>
> Brent Fraser
> On 7/28/2015 9:43 AM, Bistrais, Bob wrote:
> Hello again,
>
> Still looking for advice on how to get the scale line working on GeoMoose 2.6.x ?
>
> From: 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 Bistrais, Bob
> Sent: Thursday, July 23, 2015 3:00 PM
> To: geomoose-users at lists.osgeo.org<mailto:geomoose-users at lists.osgeo.org>
> Subject: [Geomoose-users] configuring scaleLine.js
>
> I am trying to enable a scale bar in GeoMoose 2.6.1.  I see that this is now handled through scaleLine.js.  I don't see any specific document on that, and I haven't found scaleLine.js in the code.  Can anyone point me to these?
>
> Thanks,
> Bob
>
>
>
>
> _______________________________________________
>
> 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
> http://lists.osgeo.org/mailman/listinfo/geomoose-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20150728/d1fc1e42/attachment.html>


More information about the Geomoose-users mailing list