FATOS Developer
Developer SiteConsole
  • FATOS Developer Introduction
  • FATOS API
    • Map
      • Map control
        • Sources
        • Layers
          • Style Specification
            • Fill
            • Line
            • Symbol
            • Circle
        • Building
        • Bounds
        • Center
        • Heading
        • Flyto
        • Tilt
        • Zoom
        • Marker
          • Instance Members
        • Polyline
        • Polygon
        • Circle
        • On/Off
        • Once
        • Language
        • Theme
        • Cluster
          • Instance Members
      • Button control
      • Utilities
        • Rectangle
        • Distance
        • Area
    • Search
      • Address
      • Geocoding
      • Geofencing
      • Detail
      • Public Transport
        • Bus Route
        • Bus Route Information
        • Bus Stop Information
        • Subway Station Information
        • Subway Station Timetable
        • Public Transit POI within Radius
        • Public Transit POI on Map
        • Subway Station Transfer Information
        • Real-time Bus Location Information
        • Real-time Bus Arrival Information
    • Routing
      • Route
      • Route for truck
      • Route_v2
      • Public Transit Route Search
      • Route Graphic Data
      • Bicycle
      • Pedestrian
    • Analyze
    • Tracking
  • FATOS SDK
    • Authentication
    • Platform
      • Android
        • Start
        • Component
      • iOS
        • Start
        • Component
      • React Native
        • Start
        • Component
  • Get your API Key
  • Release Note
    • FATOS Map API
    • API Server
    • RP Server
  • Troubleshooting
    • FAQ
Powered by GitBook
On this page
  • setTilt
  • Example
  • getTilt

Was this helpful?

  1. FATOS API
  2. Map
  3. Map control

Tilt

Tilt your 3d map view

setTilt

Sets the slope/tilt of the map view. The parameter ranges from 0 to 60. If the value is closer to 0, then the map appears to be 2D. If the value is close to 60, the map appears to be 3D.

Parameter

Required Parameter

Description

Type

value

Slope

Numeric (0-60)

Example

mapInstance.setTilt(40);

getTilt

Gets the slope/tilt value of the map.

Return

The current tilt of the map.

Example

mapInstance.getTilt();
return 40
PreviousFlytoNextZoom

Last updated 4 years ago

Was this helpful?