Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

An example of the various options, that can be completely mixed is shown in the below picture.


geoJSonLayer

From version 20202022.01 you can use a geoJSON files instead of shape files. When the geoJSON file contains multiple shape types you can use the same geoJSON file in multple layers with different types.

Code Block
languagexml
titleDemo Open Street MapDeme geoJSON file
<geoJsonLayer id="geojson">
  <file>provinces.geojson</file>
  <shapeType>polygon</shapeType>
  <visible>false</visible>
  <lineColor>black</lineColor>
  <fillColor>light yellow</fillColor>
</geoJsonLayer>

...

Code Block
languagexml
titleDemo geoJSON FileOpen Street Map
<openStreetMapLayer id="Osm">
<url>http://tile.openstreetmap.yourserver.com</url>
<cacheDir>$REGION_HOME$/OsmTiles</cacheDir>
</openStreetMapLayer>

...