Created
August 28, 2013 18:25
-
-
Save veltman/6369472 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-Step 1: basic HTML skeleton for a full-screen map | |
-Step 2: initialize a map | |
-Step 3: add a tile layer | |
-Step 4: Add a marker | |
-Step 5: Add a line | |
-Step 6: Add a polygon | |
-Step 7: Styling: add a polygon with different styling | |
-Step 8: Click/hover | |
-On click, re-center map | |
-On hover, change styling of polygon | |
-Step 9: Layer groups | |
-Add things to a group | |
-Hide whole group | |
-Change styling for whole group | |
Step 10: Change map state | |
-Pan the map | |
-Set the map view |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment