Examples

Explore practical examples of integrating Waygo maps into your applications. Each example includes working code samples and interactive demonstrations.

Load selection state with Waygo.js

Learn how to initialize a map with pre-selected items using the Waygo.js library.

HTML

JavaScript

React

Load selection state with an iframe

Learn how to initialize a map with pre-selected items using an iframe embed.

HTML

React

Getting Started

If you're new to Waygo maps, we recommend starting with our Waygo.js documentation to understand the basics of embedding maps into your applications.

What you'll learn

  • How to initialize maps with pre-selected items
  • Different approaches for embedding maps (iframe vs Waygo.js)
  • Working with selection criteria and multi-select functionality
  • Best practices for map integration

Prerequisites

  • A Waygo account with access to maps
  • Basic knowledge of HTML, CSS, and JavaScript
  • For Waygo.js examples: familiarity with React or vanilla JavaScript