SHARE
TWEET

Untitled

a guest Mar 21st, 2019 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # WMS support provided by adding either #ARCGIS_WMS_TRANSFORM or #GEOSERVER_WMS_TRANSFORM
  2. # and providing the x y z in the format of x={x}&y={y}&z={z} in the query string url
  3. # See WMSRequestInterceptor
  4.  
  5. styles:
  6.    raster-overlay1:
  7.        base: raster
  8.        blend: translucent
  9.        blend_order: 0
  10.    raster-overlay2:
  11.        base: raster
  12.        blend: translucent
  13.        blend_order: 1
  14. sources:
  15.    local:
  16.        type: Raster
  17.        url: file:///data/user/0/com.onespatial.Editor.MobileEditor/files/tiles/layers/{z}/{x}/{y}.png
  18.    wikimedia-maps:
  19.        type: Raster
  20.        url: https://maps.wikimedia.org/osm-intl/{z}/{x}/{y}.png
  21. layers:
  22.  basemap:
  23.    data: { source: wikimedia-maps }
  24.    draw:
  25.      raster-overlay1:
  26.        order: 0
  27.  local-map:
  28.    data: { source: local }
  29.    draw:
  30.      raster-overlay2:
  31.        order: 1
  32.  Water:
  33.     data: { source: Water }
  34.     Water:
  35.       filter: { type: Water }
  36.       draw:
  37.         polygons:
  38.           color: [0.60, 0.86, 0.95, 1]
  39.           order: 1001
  40.   Land:
  41.     data: { source: Land }
  42.     Land:
  43.       filter: { type: Land }
  44.       draw:
  45.         polygons:
  46.           color: [1, 0.92, 0.75, 1]
  47.           order: 1002
  48.           cap: round
  49.         lines:
  50.           color: [0, 0, 0, 1]
  51.           collide: false
  52.           width: 1px
  53.           order: 1002
  54.           cap: round
  55.   Building:
  56.     data: { source: Building }
  57.     Building:
  58.       filter: { type: Building }
  59.       draw:
  60.         polygons:
  61.           color: [0.83, 0.72, 0.95, 1]
  62.           order: 1003
  63.   RoadCentreLine:
  64.     data: { source: RoadCentreLine }
  65.     RoadCentreLine:
  66.       filter: { type: RoadCentreLine }
  67.       draw:
  68.         lines:
  69.           color: [0, 0, 0, 1]
  70.           order: 1004
  71.           width: 0px
  72.   SewerPipe:
  73.     data: { source: SewerPipe }
  74.     SewerPipe:
  75.       filter: { type: SewerPipe }
  76.       draw:
  77.         lines:
  78.           color: [1, 0.33, 0, 1]
  79.           order: 1005
  80.           width: 1px
  81.   InferredSewer:
  82.     data: { source: InferredSewer }
  83.     InferredSewer:
  84.       filter: { type: InferredSewer }
  85.       draw:      
  86.         lines:
  87.           color: [1, 0.33, 0, 1]
  88.           order: 1005
  89.           width: 1px
  90.   InferredServiceAssociation:
  91.     data: { source: InferredServiceAssociation }
  92.     InferredServiceAssociation:
  93.       filter: { type: InferredServiceAssociation }
  94.       draw:
  95.         lines:
  96.           color: [0.2, 0.65, 0, 1]
  97.           order: 1007
  98.           width: 1px
  99.   SewerNode:
  100.     data: { source: SewerNode }
  101.     SewerNode:
  102.       filter: { type: SewerNode }
  103.       draw:
  104.         points:
  105.           color: [1, 0.33, 0, 1]
  106.           order: 1008
  107.           size: 6px
  108.           cap: round
  109.   InferredSewerNode:
  110.     data: { source: InferredSewerNode }
  111.     InferredSewerNode:
  112.       filter: { type: InferredSewerNode }
  113.       draw:
  114.         points:
  115.           color: [0, 0.65, 0.45, 1]
  116.           order: 1009
  117.           size: 6px
  118.           cap: round
  119.   Property:
  120.     data: { source: Property }
  121.     Property:
  122.       filter: { type: Property }
  123.       draw:      
  124.         points:
  125.           color: [0.5, 0.5, 0.5, 1]
  126.           order: 1010
  127.           size: 6px
  128.           cap: round
  129.   Manhole:
  130.     data: { source: Manhole }
  131.     Manhole:
  132.       filter: { type: Manhole }
  133.       draw:
  134.         points:
  135.           color: [0, 0, 0.8, 0.7]
  136.           order: 1011
  137.           size: 6px
  138.           cap: round
  139.  
  140.   MTTerminators:
  141.     data: { source: MTTerminators }
  142.     MTTerminators:
  143.       filter: { type: MTTerminators }
  144.       draw:
  145.         points:
  146.           color: [1, 0, 0.8, 0.7]
  147.           order: 1011
  148.           size: 6px
  149.           cap: round
  150.  
  151.   HighlightLayer:
  152.     data: { source: HighlightLayer }
  153.     highlight:
  154.        filter: { type: highlight }
  155.        draw:
  156.          polygons:
  157.            color: [0.5, 0.5, 0.5, 0.3]
  158.            collide: false
  159.            order: 2006
  160.            cap: round
  161.          lines:
  162.            color: [0.5, 0.2, 0.2, 0.7]
  163.            collide: false
  164.            width: 4px
  165.            order: 2007
  166.            cap: round
  167.          points:
  168.            color: [0.2, 0.2, 0.7, 0.7]
  169.            collide: false
  170.            size: 8px
  171.            order: 2008
  172.            cap: round
  173.   RubberBandLayer:
  174.     data: { source: RubberBandLayer }
  175.     rubberband:      
  176.        draw:
  177.          polygons:
  178.            color: [0.5, 0.5, 0.5, 0.3]
  179.            collide: false
  180.            order: 2006
  181.            cap: round
  182.          lines:
  183.            color: [0.5, 0.2, 0.2, 0.7]
  184.            collide: false
  185.            width: 4px
  186.            order: 2007
  187.            cap: round
  188.          points:
  189.            color: [0.2, 0.2, 0.7, 0.7]
  190.            collide: false
  191.            size: 8px
  192.            order: 2008
  193.            cap: round
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top