
Tutorials
The tutorials below are designed to introduce you to CanvasMap and also to provide a reference in the future. The first 4 tutorials will get you familiar with how CanvasMap works and how to control it from JavaScript. Then, download CanvasMap from one of the links below and go on to tutorial 5 where you will add your own data to your own CanvasMaps.
|
1. Introduction to CanvasMapThis tutorial will show you examples of maps that "flow" with content and "resizeable" maps and the full, default, interface for CanvasMap. The following tutorials will show you how to customize aspects of the map and add your own data. |
|
2. Layer Names and Map Extent |
|
3. Styling Data In A Map - colors, lines, fills, marks, and icon images |
|
4. Design of CanvasMap |
5.Creating Your Own Maps |
|
6. Google Mercator and OpenStreetMap Tiles
|
|
7. Customizing the look of the mapHow to change the appearance of the may by turning elements on and off, stylizing them with CSS, and changing the contents of the map elements.
|
|
8. Creating a UTM Map (US Historical) |
|
9. Working with Large Data Sets |
|
11. Animation (done?)Create and control simple animations with CanvasMap.
|
Special Topics
1. Project to Web Mercator On Load
Shows how to load geographic data into CanvasMap and then project it to WebMercator for display.
2. Customizing the map
Different ways you can change the appearance of the map.
3. How the code works
- an overview of how CanvasMap works
4. Custom Layers
- how to create your own layers
5. Setting up a Web Server
Setting up a server on your own computer for development.
6. Changing the Behavior of the Map (the view mouse down)
- Overriding the Views MouseDown() function
7. Creating a radial background effect on the map
- Overriding the Views MouseDown() function
To be added to tutorials:
- Labels
- Label and Mark collision detection
- Mulitple maps on a page (iframes)
- Mobile
- STView.Tools
- Making things unclickable
- Joining attributes
- Creating dialogs?
Changing the popup info window
- Change "Triangle_Up.png" and "Triangle_Down.png"
- Note that the size of the triangle must be the same for it to be correctly positioned by CanvasMap
- Change the style for "CM_InfoBox"
- You can also override STLayer.ShowInfoWindow(...) or STLayer.MouseDown(...)