Map Editor Snippet Examples

Any changes to the snippets will not be available in Studio until you close and re-open the Studio application.

Council and Democracy Map Snippet
<?xml version="1.0" encoding="utf-8" ?>
<mapEditorSnippet>
	<snippet name="Council and Democracy" shortcut="council">
		<description>A group of layers that show the council and democracy information for the area</description>
		<code>
			<![CDATA[	LAYER
		CONNECTION "Overlays\Council\Wards.tab"
		CONNECTIONTYPE OGR
		METADATA
			"qstring_validation_pattern"	"."
		END
		NAME "Wards"
		STATUS OFF
		TYPE POLYGON
		UNITS METERS
		CLASS
			STYLE
				OUTLINECOLOR 107 0 107
				WIDTH 2
			END
		END
	END]]></code>
	</snippet>
</mapEditorSnippet>
Education Map Snippet
<?xml version="1.0" encoding="utf-8" ?>
<mapEditorSnippet>
	<snippet name="Education" shortcut="education">
		<description>A group of layers that show the various schools in the area</description>
		<code>
			<![CDATA[	LAYER
		CONNECTION "Overlays\Schools\Primary.tab"
		CONNECTIONTYPE OGR
		METADATA
			"qstring_validation_pattern"	"."
		END
		NAME "SchoolsPrim"
		STATUS OFF
		TYPE POINT
		UNITS METERS
		CLASS
			STYLE
				SYMBOL "Primary"
				SIZE 20
			END
		END
	END
	LAYER
		CONNECTION "Overlays\Schools\Secondary.tab"
		CONNECTIONTYPE OGR
		METADATA
			"qstring_validation_pattern"	"."
		END
		NAME "SchoolsSecond"
		STATUS OFF
		TYPE POINT
		UNITS METERS
		CLASS
			STYLE
				SYMBOL "Secondary"
				SIZE 20
			END
		END
	END
	LAYER
		CONNECTION "Overlays\Schools\Independant.tab"
		CONNECTIONTYPE OGR
		METADATA
			"qstring_validation_pattern"	"."
		END
		NAME "SchoolsIndy"
		STATUS OFF
		TYPE POINT
		UNITS METERS
		CLASS
			STYLE
				SYMBOL "Independant"
				SIZE 20
			END
		END
	END
	LAYER
		CONNECTION "Overlays\Schools\Special.tab"
		CONNECTIONTYPE OGR
		METADATA
			"qstring_validation_pattern"	"."
		END
		NAME "SchoolsSpesh"
		STATUS OFF
		TYPE POINT
		UNITS METERS
		CLASS
			STYLE
				SYMBOL "SpecialSchool"
				SIZE 20
			END
		END
	END]]></code>
	</snippet>
</mapEditorSnippet>