This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
map_suite_layers [2015/11/18 22:14] mwolffer [Style the Layers] |
map_suite_layers [2015/12/03 09:29] (current) tgwikiupdate [Video Overview] |
||
---|---|---|---|
Line 5: | Line 5: | ||
<div newline></div> | <div newline></div> | ||
+ | <div download_viewsource_buttons tryitonline> | ||
+ | {{filehistory:webapieditionsample_layers_cs_20150820.zip|C# Project}} | ||
+ | [[source_code_webapieditionsample_layers.zip|View Source]] | ||
+ | [[http://samples.thinkgeo.com/WebApiEdition/SampleTemplates/Layers/leaflet/|Try It Online(Leaflet)]] | ||
+ | [[http://samples.thinkgeo.com/WebApiEdition/SampleTemplates/Layers/openlayers/|Try It Online(Openlayers)]] | ||
+ | |||
+ | </div> | ||
=====Overview===== | =====Overview===== | ||
Map Suite WebAPI Edition supports many popular GIS file formats. In this learning sample we will go over some of the most common supported GIS data formats and also discuss the concept of a layers and how they are used to create maps. | Map Suite WebAPI Edition supports many popular GIS file formats. In this learning sample we will go over some of the most common supported GIS data formats and also discuss the concept of a layers and how they are used to create maps. | ||
Line 52: | Line 59: | ||
=====A Look at the Code===== | =====A Look at the Code===== | ||
- | There are two projects in the Visual Studio solution. One is for the Leaflet javascript mapping library and one is for OpenLayers. In each project, the LayersController contains the functions that load each of the layer types. Each function is prefaced with the type of layer. At the bottom is InitializeProjection, which sets up the map projection, and DrawTileImage, which draws the Layer Overlay bitmap. The App_Data folder contains data for each of the layer types. | + | There are two projects in the Visual Studio solution. One is for the Leaflet javascript mapping library and one is for OpenLayers. In each project the LayersController contains the function that loads each layer type. Each function is prefaced with the type of layer. At the bottom is InitializeProjection which sets up the map projection and DrawTileImage which draws the Layer Overlay bitmap. The App_Data folder contains data for each of the layer types. |