logo
API Documentation
Tutorials
Getting Started Initialization Layers Third party Controls Geometries Vector styles Measures InfoBox Utils
Releases

Tutorials

  • Getting Started
    • Setup
  • Initialization
    • Init with token
    • Init with username/password
    • Init with constrained zoom levels
    • Init empty map
    • Init with multiple maps
    • Init in 3D mode
    • Init with image 3D mode
    • Init map with a restricted extent
  • Layers
    • XYZ Tile
    • WMS Tile
    • WMTS Tile
    • Vector Layer
    • Vector Tiles
    • WFS Layer
    • ArcGIS Feature
    • Group Layer
  • Third party
    • Google
    • Google side by side
    • Cesium
  • Controls
    • Basics
    • Map modes
    • Map orientations
    • Layer control
    • Zoom control
    • Map Bar Control
    • Map Button
    • Map Toggle
    • Vexcel image metadata
    • Vexcel find collection
    • Vexcel show collection
    • Vexcel Infrared
    • Brightness and Contrast Control
  • Geometries
    • Point
    • Line
    • Polygon
    • MultiPolygon
    • WKT reader
    • GeoJSON reader
    • Feature click
    • Feature hover
  • Vector styles
    • Polygon styles
    • Point styles
    • Point shapes styles
    • Text styles
    • Feature styles
  • Measures
    • 2D mode
    • 3D mode
    • Change units
    • Edit
    • Tooltips
    • Custom Tooltips
  • InfoBox
    • InfoBox fixed
    • InfoBox on click
    • InfoBox feature
  • Utils
    • Transform

Tutorial

Transform


This tutorial demonstrates how to use the Transform utility for converting between different coordinate systems in your mapping application. Coordinate transformation is essential for integrating with various mapping standards, tile services, and geospatial data formats that use different coordinate representations.

You'll learn how to:

  • Convert between tile coordinates (z,x,y) and geographic coordinates (latitude, longitude)
  • Transform map locations to their corresponding tile coordinates at specific zoom levels
  • Apply coordinate transformations to navigate the map programmatically
  • Implement interactive coordinate conversion tools in your application

Coordinate transformation capabilities are fundamental for applications that need to work with multiple coordinate systems, integrate with external tile services, or perform custom map navigation. This functionality enables seamless integration between different mapping standards and provides the foundation for advanced geospatial operations.


Transform ZXY tile coordinates to latitude/longitude/zoom location coordinates



Result:

Transform latitude,longitude,zoom location coordinates to ZXY tile coordinates



Result:

Classes:

  • Location
  • Map
  • Transform

index.html

        
      

main.js

            
    

Documentation generated by Vexcel Imaging