This is a library with a lot of NewMapComponent samples.
Almost all samples go beyond the OOTB features due to limitations on the component. To achieve some behaviors on the samples, was needed add extra JS code calling the map engine API.
All the samples are based on RequireJS dashboards.
We invite all those pentaho users to share their maps charts on this library as well.
Download the project and upload it into the Pentaho BA Server.
Make sure that you have the following path on the Browser Files: /Public/NMC-samples
-
Tips Mouseover and click events over shapes and markers.
-
Shapes and Markers Map with shapes and markers at the same time.
-
Heatmap A Heatmap sample.
-
Features load time Measuring the time to load features on the map.
-
Custom Tooltip A custom tooltip over shapes.
-
Custom Feature Attribute - FillColor A customized function to set a different color for the feature.
-
Near Real Time Ships moving based on new GPS location.
-
Rail Station Show markers and lines representing the stations and the railway.
-
SVG Template Uses a svg icon as the marker image.