[3.x] Constants - MetamediaTechnology/longdo-map-demo-ios GitHub Wiki

LMMode

  • BASE - Hillshade base layer
  • GISTDA_SPOT5 - SPOT5 satellite base layer
  • GRAY - Gray-ish base layer
  • HYDRO - Basic base layer
  • MAPQUEST - MapQuest-OSM base layer
  • NORMAL - Standard base layer
  • NORMALR - Revert standard base layer
  • OPENCYCLE - Open Cycle base layer
  • OSM - Open Street Map base layer
  • POI - Standard+POI base layer
  • POLITICAL - Political base layer
  • POLITICAL_NOLABEL - Political base layer (No label)
  • RAIN_RADAR - Rain non-base layer with auto-refresh
  • TERRAIN - Bluemarble terrain base layer
  • THAICHOTE - Thaichote satellite base layer
  • THAICHOTE_HTTP - Thaichote satellite base layer
  • DOL_GRAY - Land parcel layer
  • POI_TRANSPARENT - Standard+POI non-base layer
  • TRAFFIC - Traffic non-base layer with auto-refresh
  • OFFLINE - Offline layer. (Please contact company sales.)
  • BLANK - Blank layer
  • TAG - Longdo tag layer
  • BY_NAME - Longdo layer by name specific in sourceLayer
  • CUSTOM - Custom Layer

LMTileFormat

  • LONGDO - Format for all mode from LMMode except CUSTOM mode.
  • WMS - Web Map Service Format
  • WMTS - Web Map Tile Service Format
  • TMS - Tile Map Service Format
  • JSON - Array of Point in JSON Format
  • BBOX4326 - Bounding Box Format in SRS 4326
  • BBOX3857 - Bounding Box Format in SRS 3857

LMLanguage

  • THAI - Thai Language
  • ENGLISH - English Language

LMUserAnnotationType

  • LONGDO_PIN - Longdo Map Style
  • NATIVE_PIN - Apple MapKit Style

LMCache

  • DEFAULTCACHE - Automatic manage cache from SDK.
  • ALWAYCACHE - Alway use cache.
  • ALWAYLOAD - Alway load from server.

LMEventType

  • CAR_BREAKDOWN - Car breakdown event
  • CONSTRUCTION - Construction event
  • ACCIDENT - Accident event
  • RAIN - Rain event
  • FLOOD - Flood event
  • CROWD - Crowd event
  • INFORMATION - Information
  • CHECKPOINT - Police checkpoint event
  • TRAFFIC_JAM - Traffic jam event
  • MISC - Miscellaneous event
  • WARNING - Warning
  • EVENT - Fair event
  • SALE - Sale event
  • FIRE - Fire event
  • COMPLAINT - Complaint about area
  • DIVERSION - Diversion road
  • ROADCLOSED - Road closed

LMRouteMode

  • AVOID_TRAFFIC - Driving via fastest route, avoid traffic jam with real-time and predicted data.
  • BEST_TIME - Driving via fastest route.
  • MINIMUM_DISTANCE - Driving via shortest route.

LMRouteTurn

  • TURN_LEFT - Turn left.
  • TURN_RIGHT - Turn right.
  • TURN_SLIGHT_LEFT - Turn slight left.
  • TURN_SLIGHT_RIGHT - Turn slight right.
  • GO_STRAIGHT - Go straight.
  • ENTER_TOLLWAY - Enter tollway.
  • UNKNOWN - Unknown direction.