![]() The example begins below with the assumptions that an API Key has been secured and that a Connection.GoogleMaps element has been configured with it in the _settings definition. Google Maps provides information about getting an API Key. The format of a KML file is somewhat different but it's still XML data and you can look at it easily enough to determine relevant field names.īefore starting to create an application that uses Google Maps, the developer must get a Google Maps API Key to access the mapping web service. In our Logi application, we'll relate the school district names in these two files with each other in order to make our map overlay functional. The beginning of the latitude and longitude data for the district boundaries is at the bottom of the sample. Note that the school district name is part of the data in the desc field. Similarly, GIS data defining the boundaries of the state's school districts has been download and stored as a GPX file and a sample of it is shown above. As is often the case, the first step is to have a look at the data.įor this example, relevant annual dropout rate data from the State of Florida's Department of Education has been downloaded and stored as an XML data file.Ī sample of the XML dropout data is shown above note that the field District contains the school district name values. The purpose of the example is to create a map of the state of Florida, with an overlay of all its public school districts, in order to easily compare "dropout rates" - the percentage of students who have dropped out of the school system - in the 2007-2008 school year. The following example will demonstrate how to create a Google Map with polygon regions overlaid on it. The examples discussed in this topic are available on DevNet for download as the Google Map Regions Sample Application. ![]() A special color spectrum legend element can be displayed below or alongside the map.Maps are initially displayed at a location and zoom level that shows all polygons.Polygon resolution is adjustable, and is dynamically sharpened as the user zooms the map in or out.Polygons may be included or excluded based on data values.Colors may be set in steps or as smooth color spectrums based on minimum and maximum data ranges. ![]() ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |