Skip to content

Styling GeoJSON Simple Style Spec #4989

Discussion options

You must be logged in to vote

It is basically

{
  "catalog": [
    {
      "name": "Point",
      "type": "geojson",
      "url": "https://gist.githubusercontent.com/steve9164/c517308cf52638e1ff3a2992e5aec3d1/raw/b53d846db4e870dca1681332db40962689aa7c35/point.geojson",
      "style": {
        "marker-url": "http://ci.terria.io/master/images/terria_logo.png"
      }
    }
  ]
}

Shamelessly lifted from @steve9164 and his gist

I also found https://raw.githubusercontent.com/TerriaJS/terriajs/master/wwwroot/test/GeoJSON/test-styles.geojson and didn't realise we could do this. Very cool!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by KeyboardSounds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants