BA3's public fiddles
-
Example #40c - Mt Everest Viewer - Demo Showing Text 3D "Balloon" Markers
This example demonstrates 3D text "balloon" markers (so called because the markers connect to the terrain by a "string") by applying several of them to Mt. Everest points of interest. When you click on a marker, it pulls up a web page.
-
Example #40b - Mt Everest Viewer - Demo Showing Text 3D Markers
This example demonstrates 3D text markers by applying several of them to Mt. Everest points of interest. When you click on a marker, it pulls up a web page.
-
Example #40a - Mt Everest Viewer - Demo Showing 3D Markers
This example demonstrates 3D markers by applying several of them to Mt. Everest points of interest. When you click on a marker, it pulls up a web page.
-
Example #39 - How to present an image while Altus is Loading
This example demonstrates how to show an image while the BA3 Altus Mapping Engine is loading.
-
Example #29c - Drawing a Circle (The Proper Way)
Demonstrates how to draw a circle in the BA3 Altus Mapping Engine. Similar to example #29b (i.e. calculates the points of the polygon properly), but uses sin/cos rather than API calls.
-
Example #38 - Demo Showing Multiple NPS Maps Simultaneously
This demonstrates how to create a simple user interface and show multiple NPS maps simultaneously. See example #34 for instructions on creating the maps.
-
Example #37 - Displaying a WMS Layer in the BA3 Altus Mapping Engine
This example demonstrates how to load and display a WMS layer in the BA3 Altus Mapping Engine.
-
Example #36 - Draping an Overlaid Map over Terrain
This example demonstrates how to drape a National Park Service Map over a base map and terrain in the BA3 Altus Mapping Engine. The alpha channel of the National Park Service Map is varied over time. See example #34 for details on downloading the NPS map.
-
Example #35 - Simplest USGS Topographic Map Viewer
This example demonstrates how to overlay a single USGS Topographic Map on a base map in the BA3 Altus Mapping Engine. The USGS Topographic Map was downloaded from the USGS web site and converted using the AltusRaster server tool.
-
Example #34 - Simplest National Park Service Map Viewer
This example demonstrates how to overlay a single National Park Service Map on a base map in the BA3 Altus Mapping Engine. The National Park Service Map was downloaded from the NPS web site and converted using the AltusRaster server tool.
-
Example #33 - Simplest FAA Map Viewer
This example demonstrates how to overlay a single FAA chart on a base map in the BA3 Altus Mapping Engine. The FAA chart was downloaded from the FAA web site and converted using the AltusRaster server tool.
-
Example #32 - Simple Terrain Viewer
This demonstrates how to add 3D terrain and look at it with a 3D camera in the BA3 Altus Mapping Engine. Jquery controls allow you to change lat, lon and altitude and keyboard controls let you move the camera.
-
Example #31 - War on Los Angeles game
Demonstrates how to create a simple "cannon" game in the BA3 Altus Mapping Engine. Set the barrel incline angle, the barrel rotation and the amount of powder to hit the target.
-
Example #29b - Drawing a Circle (The Proper Way)
Demonstrates how to draw a circle in the BA3 Altus Mapping Engine. If you try the simple approach seen in Example 29a, you will find it breaks down near the poles. This version solves that problem.
-
Example #30 - Satellite Orbit Visualization
Demonstrates how to view satellite orbits in the BA3 Altus Mapping Engine.
-
Example #29a - Drawing a Circle (The Simple Approach)
Demonstrates how to draw a circle in the BA3 Altus Mapping Engine. This version works well at "normal" latitudes but breaks down closer to the poles. See Example 29b for the "proper approach".
-
Example #28 - Vector Political Boundaries Added Over Aerial Imagery
Have you ever been looking at aerial imagery and thought, "I wish I could see where the border between country X and country Y is..."? This code demonstrates a way to draw political boundaries over aerial imagery to solve this problem in the BA3 Altus Mapping Engine.
-
Example #27 - Adding Zoom-In and Zoom-Out Buttons to a Map
This demonstrates how to add zoom-in and zoom-out buttons to a map in the BA3 Altus Mapping Engine. The tile set here is the cycling map from Thunderforest.com. Almost any tile server is possible in your own apps. See http://tinyurl.com/h8wahej for details.
-
Example #26 - Vector Tile Provider Demo
There are many cases where you want to provide vector tiles to Altus on demand, but the most common reason is because you have a database full of vector data that you want to flow into Altus. Altus makes this kind of stuff easy, as demonstrated here. In this case, the code is set up so the engine requests vector tiles, and the code fulfills the requests with tiles filled with a translucent vector triangles. In a typical application, you would request vectors from the database to fill the tile and send the vectors back to the engine.
-
Example #25 - Raster Tile Provider Demo
There are many cases where you want to provide raster tiles to Altus on demand, but the two most common cases are: 1) You are trying to integrate tiles from another map rendering engine into your Altus map. In this case, you request tiles from the second engine and send them to Altus as tiles are requested. 2) You want to create your own raster tiles on the fly, say from data derived from a database. Altus makes this kind of stuff easy, as demonstrated here. In this case, the code is set up so the engine requests raster tiles, and the code fulfills the requests with translucent tiles filled with a random color. A handy side effect is that you can now see tile boundaries easily as you zoom in.