This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
map_suite_webapi_getting_started [2015/09/18 07:46] admin [Add a Basemap] |
map_suite_webapi_getting_started [2015/12/03 09:23] (current) tgwikiupdate [Video Overview] |
||
---|---|---|---|
Line 4: | Line 4: | ||
{{youtube>0ykmSY6ChHk?large |Web API Getting Started Sample}} | {{youtube>0ykmSY6ChHk?large |Web API Getting Started Sample}} | ||
+ | <div newline></div> | ||
+ | <div download_viewsource_buttons tryitonline> | ||
+ | {{filehistory:WebAPIEditionSample_GettingStarted_CS_20150417.zip|C# Project}} | ||
+ | [[Source_Code_WebAPIEditionSample_GettingStarted.zip|View Source]] | ||
+ | [[http://samples.thinkgeo.com/WebApiEdition/SampleTemplates/GetStartedWithMap/leaflet/|Try It Online(Leaflet)]] | ||
+ | [[http://samples.thinkgeo.com/WebApiEdition/SampleTemplates/GetStartedWithMap/openlayers/|Try It Online(Openlayers)]] | ||
+ | </div> | ||
===== Introduction ===== | ===== Introduction ===== | ||
The Map Suite WebAPI is a server-side mapping component for creating your own customizable web mapping application. It allows you to render your map tiles, query and manage data on the server side, and perform a variety of geometric function calculations (such as calculating the area of a user-drawn rectangle on the map). | The Map Suite WebAPI is a server-side mapping component for creating your own customizable web mapping application. It allows you to render your map tiles, query and manage data on the server side, and perform a variety of geometric function calculations (such as calculating the area of a user-drawn rectangle on the map). | ||
Line 24: | Line 31: | ||
You may want to set the map’s initial extent. This is the geographical area that displays when a user first opens the application. You can easily do this by programmatically setting a bounding box around the area in one of three ways: | You may want to set the map’s initial extent. This is the geographical area that displays when a user first opens the application. You can easily do this by programmatically setting a bounding box around the area in one of three ways: | ||
\\ | \\ | ||
- | 1. Code in the geographic coordinates (latitude and longitude) of the upper left point and lower right point delineating the area you want to use. | + | 1. Code in the geographic coordinates (latitude and longitude) of the upper left point and lower right point delineating the area you want to use. |
\\ | \\ | ||
- | 2. Automatically pull coordinates from the location information the user’s device or browser provides. | + | 2. Automatically pull coordinates from the location information the user’s device or browser provides. |
\\ | \\ | ||
- | 3. Use the extent of an existing feature or set of features. | + | 3. Use the extent of an existing feature or set of features. |
\\ | \\ | ||
Line 38: | Line 45: | ||
WebAPI Edition comes with 20 preset zoom levels, which can be customized to correspond with your own desired scales. | WebAPI Edition comes with 20 preset zoom levels, which can be customized to correspond with your own desired scales. | ||
- | {{wiki:NY-large-small.png|Maps of Central Park (larger-scale) and New York City (smaller-scale). Note the scale, zoom level, latitude and longitude. These appear in the lower left corner of the screen.}} | + | {{webapiedition:NY-large-small.png|Maps of Central Park (larger-scale) and New York City (smaller-scale). Note the scale, zoom level, latitude and longitude. These appear in the lower left corner of the screen.}} |
====Understanding Coordinates==== | ====Understanding Coordinates==== | ||
Line 56: | Line 63: | ||
\\ | \\ | ||
- | {{wiki:right-click-events.png|A few basic right-click events.}} | + | {{webapiedition:right-click-events.png|A few basic right-click events.}} |
====Ready to get started?==== | ====Ready to get started?==== |