BA3's public fiddles
-
Example #24 - Hit testing lines and polygons in a dynamic vector map
Demonstrates how to hit test lines and polygons in a dynamic vector map in the BA3 Altus Mapping Engine.
-
Example #23 - Vector Map Line Styles
Demonstrates how to add lines to a vector map and the different line styles available in the BA3 Altus Mapping Engine. Note: Vector maps are 2D and static, while dynamic vector maps are 3D and allow lines to change frame-to-frame.
-
Example #18 - TAWS (Terrain Awareness Warning System) Demo
Imagine that you are creating an EFB (an Electronic Flight Bag) application and you want to warn the pilot about the terrain he/she might run into. For example, if the pilot is flying at 4,000 feet, you want the application to paint all terrain over 4,000 feet red, and all terrain near 4,000 feet yellow. In the BA3 Altus Mapping Engine, this is done with TAWS (the Terrain awareness and warning system). By setting up a TAWS color bar, the terrain is painted appropriately.
-
Example #17a - Simplest Way to Color Terrain and Use it as a Base Map
This demonstrates how to create a simple colored terrain base map in the BA3 Altus Mapping Engine. The colors are default colors native to the engine.
-
Example #22 - Experiment with clustered markers
This demonstrates how to create any number of random custom markers to check performance both creating and displaying the markers in the BA3 Altus Mapping Engine.
-
Example #17b - This is example 17a with a custom colorbar added so you can apply any colors you like
Demonstrates how to how to create a colored terrain base map using a custom colorbar in the BA3 Altus Mapping Engine. It extends Example 17a by adding the custom colorbar.
-
Example #20 - Loading 45,000 city names as a clustered marker map from a JSON file
Demonstrates a clustered marker layer created from a 45,000 item JSON file, overlaid on a small vector base map showing political boundaries in the BA3 Altus Mapping Engine.
-
Example #19 - Simple vector base map showing political boundaries
This demonstrates how to position the camera in the BA3 Altus Mapping Engine. The tile set here is the cycling map from Thunderforest.com. Jsfiddle forces the use of https servers for tiles, but almost any tile server is possible in your own apps. See http://tinyurl.com/h8wahej for details. Note the "No Wrap in body" Javascript setting and the required external resource.
-
Example #17c - Using terrain with a colorbar as a base map
This demonstrates how to repurpose a weather grid map to display colored terrain tiles. Three colorbars for land, water and light control how the map appears. Examples 17a and 17b are the preferred method for terrain coloring.
-
Example #16 - Dynamic vector experiment #2
This program lets you experiment with dynamic vector layers in the BA3 Altus Mapping Engine. Read the text below the map for an explanation.
-
Example #15 - Dynamic Vector Experiment #1
This program lets you experiment with dynamic vector layers in the BA3 Altus Mapping Engine. Read the text below the map for an explanation. The tile set here is the cycling map from Thunderforest.com.
-
Example #21 - Getting Altus engine events
This example uses a different way to instantiate the Altus engine so that different engine events are displayed in the F12 console window.
-
Example #14 - Complex self-defined 3D model of spider
This demonstrates how to add a complex self-defined 3D model in the BA3 Altus Mapping Engine. The camera points at Mt. Rainier. The tile set here is the aerial tiles from Mapbox.com. See http://tinyurl.com/h8wahej for details.
-
Example #13 - Simplest self-defined 3D model
This demonstrates how to add the simplest possible self-defined 3D model in the BA3 Altus Mapping Engine. The camera points at Mt. Rainier. The tile set here is the aerial tiles from Mapbox.com. See http://tinyurl.com/h8wahej for details.
-
Example #12 - Creating a draggable dynamic marker
This demonstrates how to create a dynamic marker that you can drag with your mouse on a long click in the BA3 Altus Mapping Engine. The tile set here is the cycling map from Thunderforest.com. See http://tinyurl.com/h8wahej for details.
-
Example #11 - 500 random dynamic markers on the planet
This demonstrates how to create 500 dynamic markers in the BA3 Altus Mapping Engine and let them fly. The tile set here is the cycling map from Thunderforest.com. See http://tinyurl.com/h8wahej for details.
-
Example #10 - Simple GPS - Shows where you are currently located on the map
This demonstrates how to create a simple GPS by tapping into the navigation services on your device. If you run it on a laptop, it will show you where you are. If you run it on something like an iPad Air or iPhone, it will track your progress as you move. It displays a single dynamic marker and wraps it in an animated circle in the BA3 Altus Mapping Engine.
-
Example #9 - Single Dynamic Marker with Animated Circle Own-Ship Marker
This demonstrates how to create a single dynamic marker and wrap it in an animated circle in the BA3 Altus Mapping Engine.
-
Example #8 - Very Simple Flight Simulator with Altus
This example demonstrates a very simple flight simulator in the BA3 Altus Mapping Engine. The camera points at Mt. Rainier. The tile set here is the aerial tiles from Mapbox.com.
-
Example #5c - Clickable Clustered Marker Example with Icon (technique 3)
This demonstrates how to add clickable clustered markers to the BA3 Altus Mapping Engine. Eight markers are added in the Washington DC area. The tile set here is the aerial tiles from Mapbox.com.