{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-guides/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Working With 2D GIS Layers","description":"Accelerate E&P application development and protect your innovation by consuming our Data and Domain APIs / Platform APIs.","lang":"en-US","meta":[{"name":"robots","content":"noindex"}],"llmstxt":{"hide":false}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"working-with-2d-gis-layers","__idx":0},"children":["Working With 2D GIS Layers"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Note: you will need to include GisData and Gis2D in your Module Dependencies list in addition to Viewer2D."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"creating-a-gis-2d-layer-for-a-map-window","__idx":1},"children":["Creating a GIS 2D layer for a Map window"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["In this example, we assume you have already created a GIS dataset gisData and a Map window mapWindow."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"NamedProps layerProperties = new NamedProps();\nlayerProperties.putProperty(IGisLayer.FILL_BG_COLOR, Color.RED);\nIGisLayer layer = IGisLayer.factory.createLayer(mapWindow, gisData, layerProperties, false);\n"},"children":[]}]},"headings":[{"value":"Working With 2D GIS Layers","id":"working-with-2d-gis-layers","depth":1},{"value":"Creating a GIS 2D layer for a Map window","id":"creating-a-gis-2d-layer-for-a-map-window","depth":3}],"frontmatter":{"title":"Working With 2D GIS Layers","pageId":"intviewer-api-for-layers/working-with-2d-gis-layers","seo":{"title":"Working With 2D GIS Layers"}},"lastModified":"2026-10-22T14:32:05.573Z","pagePropGetterError":{"message":"","name":""}},"slug":"/solutions/intviewer/intviewer-api-for-layers/working-with-2d-gis-layers","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}