MOGOS Maps
console
  • Overview
  • API & COMPONENT
    • Maps
      • Map Control
        • Sources
        • Bounds
        • Zoom
        • Center
        • Rotate
        • Tilt
        • Flyto
        • Solid
        • Languages
        • Theme
        • Event Once
        • Event On/Off
      • Layer Control
        • Layers
        • Filters
        • Property
        • The specifation of layer style
          • Fill
          • Line
          • Circle
          • Symbol
      • Map UI
      • Map Utilities
        • Rectangle
        • Circle
        • Polyline
        • Polylgon
        • Area
        • Distance
        • Marker
          • Members
    • Search
      • Name
      • Category
      • Address
      • Postal Code
      • Geocoding
    • Route
      • General Vehicles
      • Motorbike
      • Bicycle
      • Pedestrian
      • Truck
      • Public Transportation
    • Logistics & Delivery
      • Route including multiple waypoints
      • Route as optimized order for multiple waypoints
      • Route as optimized order for transportation of logistics
      • Route as optimized order for delivery
      • Predicted route which is certain time in the future
    • Fleet Management
      • Realtime location tracking
      • Moving trajectory analysis
      • Driving road pattern analysis
      • Driver behavior analysis
      • Geofencing
      • Road snap
  • Help
    • Get your API Key
    • Troubleshooting
  • The last versions
    • MOGOS Maps API
      • MOGOS Maps API V1.0
Powered by GitBook

©MOGOS 2023

On this page
  • Property of Paint
  • Property of Layout
  1. API & COMPONENT
  2. Maps
  3. Layer Control
  4. The specifation of layer style

Fill

A filled polygon with an optional stroked border.

PreviousThe specifation of layer styleNextLine

Last updated 2 years ago

Property of Paint

Property
Description
Remark

fill-antialias

Whether or not the fill should be antialiased. Default : true

boolean

fill-color

The color of the filled part of this layer. (Default : #000000)

Hex values, RGB, RGBA, HSL, HSLA, Colors Name

fill-opacity

The opacity of the entire fill layer. In contrast to the fill-color, this value will also affect the 1px stroke around the fill, if the stroke is used. between 0 and 1 inclusive. (Default : 1)

Numeric

fill-outline-color

The outline color of the fill. Matches the value of fill-color if unspecified.

Hex values, RGB, RGBA, HSL, HSLA, Colors Name

fill-translate

The geometry's offset. Values are [x, y] where negatives indicate left and up, respectively. (Default : [0,0])

Array of numbers

fill-translate-anchor

Controls the frame of reference for fill-translate. "map":

The fill is translated relative to the map.

"viewport":

The fill is translated relative to the viewport. (Default : map)

String

(map or viewport)

Property of Layout

Property
Description
Remark

visibility

Whether this layer is displayed.

"visible":

The layer is shown.

"none":

The layer is not shown. (Default: visible)

String

(visible or none)

The MOGOS Maps API requires an API Key, which can be obtained from the website or contact .

MOGOS Console
sales@mogoscorp.com