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

Cesium


This tutorial demonstrates how to integrate and synchronize Cesium 3D globe with the Vexcel Map API. This integration allows you to leverage both mapping platforms simultaneously, providing advanced 3D visualization capabilities alongside Vexcel's high-resolution imagery.

You'll learn how to:

  • Initialize both Vexcel Map and Cesium 3D globe in the same application
  • Load 3D tileset data from Vexcel's API into Cesium
  • Synchronize map views between the two platforms
  • Implement smooth transitions between 2D and 3D viewing modes
  • Toggle visibility between different map providers
  • Convert between different coordinate systems

Cesium 3D globe integration is valuable for applications that require advanced terrain visualization and 3D modeling capabilities. This capability allows you to combine Vexcel's high-quality imagery with Cesium's powerful 3D rendering engine, creating immersive geospatial experiences that seamlessly transition between 2D and 3D views.


Choose Viewing Style


⚠️ How to run locally without errors

To ensure CesiumJS and Vexcel maps work correctly, you must serve the project through a local web server. If you open index.html directly in the browser (using file://), you’ll encounter errors such as blob:null or importScripts failed.

Follow these steps:

  1. Install Node.js if you haven’t already.
  2. Open a terminal in the folder where your index.html is located.
  3. Run the following command:
    npx http-server
  4. Open your browser at http://localhost:8080

You can also use the Live Server extension in Visual Studio Code as an alternative.


Classes:

  • Extent
  • ImageryLayer
  • Location
  • Map

index.html

        
    

main.js

        
    

Documentation generated by Vexcel Imaging