Explore map catalog
Design and customize your own maps
Create powerful apps with our versatile SDK
Powerful map searching and geocoding services
Enrich maps with your own data
Secure self-hosted mapping solutions
Abstract
Abstract class that provides event handling capabilities.
Protected
Removes a listener for a specific event type.
The type of event to remove the listener from.
The listener function to remove.
Adds a listener for a specific event type.
The type of event to listen for.
The function to call when the event is fired.
map.on('load', () => { console.log('Map loaded!'); });
Adds a listener for a specific event type that will be called only once.
map.once('splatmodel:load', () => { console.log('First SplatModel loaded!'); });
Thank you! Please tell us what's unclear or missing on this page, so we can improve it for you.
Thank you for your feedback!
You've already voted on this page.
reCAPTCHA failed! Please try again.
Abstract class that provides event handling capabilities.