FATOS Map Developers (Powered by NostraMap)
Developer SiteConsole
  • FATOS Developer Introduction
  • FATOS API
    • Map
      • Map control
        • 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
      • POI
      • Address
      • Geocoding
        • Forward
        • Reverse
      • Geofencing
    • Routing
      • Route
      • Route for truck
    • Advanced
      • Logistics
  • FATOS SDK
    • Authentication
    • Platform
      • Android
        • Start
        • Component
      • iOS
        • Start
        • Component
      • React Native
        • Start
        • Component
  • Release note
    • FATOS Map API
    • API Server
    • RP Server
  • Get your API Key
  • Troubleshooting
    • FAQ
Powered by GitBook
On this page
  • setZoom
  • Parameter
  • Example
  • getZoom
  • Return
  • Example

Was this helpful?

  1. FATOS API
  2. Map
  3. Map control

Zoom

Controls scale of your map view

setZoom

Sets the zoom level of the map.

Parameter

Required Parameter

Description

Type

value

Zoom level (0-20)

Numeric

Example

mapInstance.setZoom(5);

getZoom

Gets the current zoom level of the map.

Return

The current zoom level of the map.

Example

mapInstance.getZoom();
return 5
PreviousTiltNextMarker

Last updated 4 years ago

Was this helpful?