![]() ![]() Whoops, apparently Mollom ate my first comment. ![]() The Case for Upgrading Your Drupal Website.Have you used OpenLayers? If so, do you have any tips to share? You can also pull in maps from many other sources. The best part is that you aren't limited to using Google's great satellite, street or hybrid maps. You can click on individual pins and it will display a pop-up window with the fields that we selected in the Drupal view. We created a view that selects all the offices and then used OpenLayers to create a map with all the geographic data from the view plotted on a map. We have a content type with names and addresses of doctors in a geographic region. ![]() The end result is nothing short of amazing - interactive maps with your Drupal content plotted out.īelow is an example of what you can do. With these modules in place, you can add latitude/longitude decimal degrees fields to a content type and a KML file upload to display property boundaries.įollowing the online documentation for the OpenLayers module, you next create your default maps, your view to act as a data source and a view to display the maps you desire. Openlayers Views -> This module allows you to create a view as a datasource for mapping points on a map (like pulling in latitude/longitude points from content) or displaying the maps from the KML layers. Openlayers UI -> This piece adds the administrative UI to set up maps and configure OpenLayers. Openlayers KML Layer -> With a KML file, you can add a layer on top of your map with the boundaries on the map drawn. Openlayers -> This is the API module to make everything work. With this module, you can input the geo data and then display all your information on a map. You can allow for both latitude/longitude mapping, KML property boundary mapping, geocoding entered addresses (with a helper module) and more. I'm a fan of the OpenLayers module in Drupal 7 (and 6 too, for that matter) and here's why you should be too. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |