Home
Samples
Features
Pricing
Learning Center
FAQ
Contact Us
Login
Connect with us on Facebook Follow MapsAlive on Twitter MapsAlive on LinkedIn
Create Interactive Map Solutions with MapsAlive

Use JavaScript to communicate with your interactive maps

The MapsAlive JavaScript API (Application Programming Interface) lets you:
  • Change and restore the appearance of a hotspot marker
  • Close a popup
  • Draw a route
  • Flush the Live Data cache
  • Get the current hotspot
  • Get the current map
  • Get all the hotspots that have a specified category
  • Handle a mouse click in the directory
  • Execute code when the selected hotspot changes
  • Execute code when the map loads
  • Play sounds
  • Position a zoomed-in map to bring a hotspot into view
  • Zoom the map in or out
  • Make a marker blink
  • Disable or enable a marker
  • Hide or show a marker
  • Make a marker static
  • Change a marker's stacking order
  • Change the tour title text.
  • Make a hotspot become selected

The API is fully documented in the MapsAlive User Guide for the JavaScript API.

See samples of the JavaScript API in action:
Mini FAQ
How do I make the map zoom when a marker is clicked?
How do I add effects to a marker?
How do I play a sound (audio)?
How do I add Custom HTML to my tour?
How do I draw a route?
How do I assign an action to a mouse event for a hotspot?
Can I integrate MapsAlive with my database?
MapsAlive Plans & Pricing