GTS Maps SDK

Powerful, flexible, and high-performance mapping library for creating interactive web maps. Built with modern web technologies and designed for developers who need robust geospatial capabilities.

Why Choose GTS Maps SDK? 🚀

High Performance

Optimized rendering engine that handles large datasets smoothly with WebGL acceleration and efficient memory management.

Fully Responsive

Works seamlessly across all devices and screen sizes with touch-friendly controls and adaptive rendering.

Modular Architecture

Import only what you need. Lightweight core with optional modules for advanced functionality and custom extensions.

Rich Geospatial Tools

Comprehensive suite of spatial utilities for measurement, analysis, and geometry operations right out of the box.

Customizable Styling

Complete control over map appearance with CSS-like styling, expressions, and dynamic theming capabilities.

Enterprise Ready

Built with security, scalability, and maintainability in mind. Perfect for mission-critical applications.

Quick Start

1

Installation

Include the CDN in your project.

<link rel='stylesheet' href='https://example.globaltrafficsystem.com/assets/mapsdk/v1.0/gtswebsdk-gl.css'/>
<script src='https://example.globaltrafficsystem.com/assets/mapsdk/v1.0/gtswebsdk-gl.js'></script>
2

Create a Map

Initialize a map with basic configuration in your HTML.

const map = new gtswebsdkgl.Map({
  target: 'map',
  center: [-74.5, 40],
  zoom: 9
  ....
});
3

Add Your Data

Load GeoJSON, vector tiles, or other data sources onto the map.

map.addSource('my-data', {
  type: 'geojson',
  data: 'https://example.com/data.geojson'
});
4

Style and Customize

Apply styles, add interactivity, and customize the user experience.

map.addLayer({
  id: 'data-layer',
  type: 'circle',
  source: 'my-data',
  paint: {
    'circle-color': '#ff0000'
  }
});

Additional Resources 📖

Explore these resources to get the most out of the GTS Maps SDK.

Examples

Ready-to-use code examples for various mapping scenarios.

View Examples

API Reference

Complete documentation for all classes, methods, and properties.

Browse API