Examples

Basic Map
Initialize a map in an HTML element with Trimble Maps JS SDK.

Map Controls
Add navigation and scale controls to the map.

Map Styles
Map styles provide the visual styling for the map.

Routing
Display a route on the map.

Content Layers
Display content layers such as traffic, weather, and 3D buildings.

GeoJSON Point
Add a point to the map using GeoJSON.

Marker and Popup
Add a marker to the map and show a popup when the marker is clicked.

Cluster Points
Configure the map to cluster nearby points and show a count of the clustered points.

Style Modifications
Make modifications to an existing map style.

Mouse Position
Track the location of the mouse pointer as it moves around the map.

Data Driven Styles
Change styling based on data source values.

Draggable Marker
Add a draggable marker to the map.

Filter Symbols by Text
Filter symbols and their associated name by text input

Animate Point on Route
Animate a point along a route using Turf.js

Single Search
Use TrimbleMaps Single Search API on a map

Draw Tool
Add a tool for drawing markers and polygons

Heat Map
Visualize data with a heat map