[Geomoose-users] how to remove few services and functions from the user interface

Jim Klassen klassen.js at gmail.com
Wed Dec 5 12:55:09 PST 2018


Both are done in mapbook.xml:

To disable the Drawing and Markup tools search for the below and set
whatever you want disabled to false:

       <layer src="sketch/default"
               zoomto="true" upload="true" download="true" clear="true"
               draw-point="true" draw-line="true" draw-polygon="true"
               draw-modify="true" draw-remove="true" />


To remove the toolbar tools search for the below and remove the lines
you don't want:

    <toolbar>
        <tool name="fullextent" title="Zoom to Full Extent" type="action"/>
        <tool name="measure" title="Measure" type="service"/>
        <tool name="print" title="Print" type="action"/>

        <tool name="identify" title="Identify" type="service"/>

        <tool name="select" title="Select Features" type="service"/>

        <drawer name="searches" title="Search">
            <tool name="search" title="Search Parcels" type="service"/>
            <tool name="geocode" title="Geocode an Address" type="service"/>
        </drawer>

        <tool name="findme" title="Find Me" type="action"/>
        <tool name="reload" title="Start Over" type="action"/>
    </toolbar>

On 12/5/18 2:45 PM, Stathis G. Arapostathis wrote:
> I am sorry that I forgot to mention it sir.
> I am using gm3.
>
> ps: i am not sure on the exact tools that i want to remove from the
> drawing and markup layer. I would just like to know how they are removed.
>
> thank you very much again sir
>
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon>
> 	Virus-free. www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link>
>
>
>
> On Wed, Dec 5, 2018 at 10:41 PM James Klassen <klassen.js at gmail.com
> <mailto:klassen.js at gmail.com>> wrote:
>
>     Which version are you looking at (2.9 or 3+)?
>
>     On Wed, Dec 5, 2018, 14:40 Stathis G. Arapostathis
>     <e.arapostathis at gmail.com <mailto:e.arapostathis at gmail.com> wrote:
>
>         Respectful sirs/ madams,
>
>           I was wondering on how I could remove few services and
>         functions from the userinterface of geomoose. In particular I
>         am interested in the following:
>
>         1. to remove the select features service
>         2. to remove the geocode an address service
>         3. to keep only the first three tools of the drawing and
>         markup layer.
>
>         thank you very much in advance
>
>         <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon>
>         	Virus-free. www.avast.com
>         <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link>
>
>
>         _______________________________________________
>         Geomoose-users mailing list
>         Geomoose-users at lists.osgeo.org
>         <mailto:Geomoose-users at lists.osgeo.org>
>         https://lists.osgeo.org/mailman/listinfo/geomoose-users
>


More information about the Geomoose-users mailing list