View the page source of each example to see the code.
Add a control to show the current lat/long of the mouse cursor.
Place simple image markers at lat/long coordinates with popups and hover display.
Control when popups are closed.
Display a route with custom icons and anchored popups for each of the stops on the route.
This example demonstrates how to draw a shape on the map and then retrieve the vertices of that shape.
Display a route containing stops with custom icons and labeled with the corresponding stop number.
Display live traffic or historical traffic from a specified time and day of the week.
Demonstrates a map containing a weather layer.
Use a cluster strategy on a set of points and dynamically style those clusters.
Use the SelectFeature control to handle the selection of features drawn on the map.
Determine feature visibility by attribute
Set the style of a feature by attribute value
Determine the feature that has the shortest distance to the selected feature
Determine which features intersect with one another
Toggle Visibility of Map Layers
Zoom in/out to one or all features on a layer
Change the style of the BaseMap after declaration
Plotting features in a web mercator projection
Using the geocoding results list
How to customize and add buttons to the nav panel
How to customize and add buttons to a custom panel
How to set the image of a route handle
How to cluster features by attribute and/or rule
How to use the VectorMarker layer and the FeatureEvent control
How to use the WeatherAlerts layer and customize the legend and option controls
How to use the DriveTime layer and determine if a location lies within a drive time polygon
How to use the Marker2 class, and alter its contents
Demonstrates use of the various truck routing options and how they affect the route
Demonstrates the external routing and geocoding controls, and explains how to download and use the necessary files.
Demonstrates the use of the POI layer and how to customize the display of the individual POI Markers and Popups.
Making a POI layer perform dynamic searches based on its viewport, in addition to showing how to filter search results.
Demonstrates how to dynamically number route stops using the custom SVG feature for route handles.
Demonstrates event handling for traffic incident popups, customizing feature graphics, and altering popup content.
Demonstrates the use of the weather alerts report and service.
Demonstrates event handling for traffic camera popups.
Display current road surface condition or predict future condition given specific hour offset.
Display road surface condition along each route.
Display grid of point features.
Populate vector layer with data from a KML file on remote server.
Demonstrates how to set different languages for control panels.
Demonstrates how to add features to Vector layer from different format source.
Demonstrates how to extract different reports in a route.
Demonstrates how to create a custom context menu for use with your maps via right click.
Demonstrates how to get EU Toll Detail Report in a route.
Demonstrates single search function and UI control.