From: Andy Allan Date: Mon, 6 Sep 2010 15:08:25 +0000 (+0000) Subject: Document, and fix, the withCategory presence option X-Git-Tag: 0.5~256 X-Git-Url: https://git.openstreetmap.org/potlatch2.git/commitdiff_plain/e072926980d2103d27c73f7b24a29f2e8c5233a4 Document, and fix, the withCategory presence option --- diff --git a/net/systemeD/potlatch2/mapfeatures/Presence.as b/net/systemeD/potlatch2/mapfeatures/Presence.as index 9a4b3cb5..307428a3 100644 --- a/net/systemeD/potlatch2/mapfeatures/Presence.as +++ b/net/systemeD/potlatch2/mapfeatures/Presence.as @@ -12,6 +12,7 @@ package net.systemeD.potlatch2.mapfeatures { if ( ALWAYS == null ) { ALWAYS = new Presence(); ON_TAG_MATCH = new OnTagMatch(); + WITH_CATEGORY = new WithCategory(); } if ( presence == "always" ) return ALWAYS; diff --git a/resources/map_features.xml b/resources/map_features.xml index 9f15037f..6b721442 100644 --- a/resources/map_features.xml +++ b/resources/map_features.xml @@ -32,7 +32,7 @@ Quick documentation: @type: choice/freetext/turn/checkbox/slider/route/speed/number - the different types of supported input dialogs. - @presence: always/onTagMatch/withCategory - Whether it always appears on the basic page, appears only when the tag is already set, or (something else). + @presence: always/onTagMatch/withCategory - Whether it always appears on the basic page, appears only when the tag is already set, or only ever show on the category page. @category: which tab it appears on @description: mouse-over text @name: The text shown as the label of the property