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 advanced marker features to control marker behavior on your interactive maps

You can override the default behavior of hotspots on interactive maps and floor plans using the advanced marker features. These features let you write JavaScript code to make markers behave exactly the way you need them to. There are three advanced features:
The sample above lets you set advanced marker options. First try using the map — the markers change color and display text when you mouse over them, and they display a dialog when you click on them. Now try changing an option and see how the behavior changes.

Hidden

When you make a marker hidden, it will not be visible and will not respond to mouseover, mouseout, or click events. When a marker is hidden, it’s as though it were not on the map. You can make markers appear or disappear using this feature. Try it with the sample at left.

Disabled

When you make a marker disabled, it will not respond to mouseover, mouseout, or click events, and it will not change appearance when the mouse is over it. However, you can still click the hotspot name in the directory and the marker will become selected and the hotspot content will display. When a marker is disabled, it's as though it were just a graphic element of the map image.

Static

When you make a marker static, it will not change appearance when the mouse is over it. It will however still respond to mouseover, mouseout, and click events by performing the action associated with those events. When a marker is static, it’s as though its normal and selected appearance are the same.
Mini FAQ
How do I access the advanced marker features?
MapsAlive Plans & Pricing