-
Notifications
You must be signed in to change notification settings - Fork 1
Tutorials
KolamInstitute edited this page Mar 3, 2013
·
3 revisions
To use the application in YOUR context, please, see the attached documentation.
##PART 1
- Add a map to your web page
- Add various baselayers
- Add local tiles
- Add layers with markers and vectors
- Add markercluster
- Add popup on features
- Add layer from geojson data
- Add custom popup
- Add layer from csv file
- Add layer with images
- Add basic controls (layers, legend, info, zoom, pan)
- Add controls into external DIv
- Add custom icons
- Add custom vector styles ...
##PART 2
- Add extra controls (draw, search, measure, minimap, fullscreen, locate)
- Add labels
- Add animated markers
- Add sprite collection for markers
- change projection of the map
- Add more baselayers (providers)
- Add utf grid
- Add 3D geojson buildings
- Add hash to URL
- Add coordinates log window
- Add special layers (create, delete, save in local storage)
##PART 3
- Add grid views
- Add grid sorting and searching
##Add a map to your web page
Open your html document and choose the app container DIV or the full screen window. Place you code inside,! the simplest !
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Title name</title>
...
<!-- Here are the dependencies -->
...
</head>
<body>
<div id="galaxy" class="fullscreen"></div>
</body>
</html>
Open your browser to see the basic application with its default settings
We will add 4 baselayers to our map from various providers