![]() Our platform provides companies of any size with the means to increase efficiency and streamline processes, connect with customers, and ultimately deliver the all-important exceptional user experience. We add the following code below the OSMGeoAdmin class definition. About MapQuest for Business MapQuest for Business powers thousands of businesses with location-enabled Geospatial solutions. Maps can be centered on a point, a bounding box, and even allowing the service to best-fit all features shown on the map. It is based on OpenStreetMap data and can be used to customize and create a map image through a simple HTTP request. Since our Mapquest Aerial Tiles also require a spherical mercator projection, our class will This API is the open version of MapQuests Static Map API. Many of those configuration parameters, but configures the map for a spherical mercator projection. The GeoModelAdmin contains a set ofĬonfiguration parameters for the map, covering basic setup. The OSMGeoAdmin class is a subclass of the base GeoModelAdmin. We’ll create two new files, a html template file, that actually points to a javascript fileĬontaining a reference to the Mapquest Open Aerial tiles service. Hacking the admin to display the Mapquest aerial tiles is a pretty straightforward process.įrom the gis contrib package, we’ll modify options.py and its _init_.py, subclassing the OSMGeoAdmin. Mapquest provides a good set of aerial tiles, that can be easily integrated into OpenLayers. Our data occur primarily in non-urban areas, where natural features provide a muchīetter context for orientation then would be expected with any streets layer, OSM or otherwise. Primarily with the storage of field collected (GPS, field notes, aerial markup, etc.) data. That being said, for PntTrax, I needed aerial tiles. ![]() The OSM layer is great, and provides a good baseįor most use cases. GeoDjango ships with a base GeoAdmin class, using the default OL world borders layer,Īs well as a subclass for OSM streets data. The GeoDjango model admin provides a great OpenLayers interface, allowing a user to create geographic features (points, lines, polygons) directly via a web map.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |