Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have been struggling to find a way of importing KML file into open layers easily. Is this documented some where or have I just missed it ? Thanks Andrew
Comments
Comment #1
phayes CreditAttribution: phayes commentedI believe we have layer type definition for KML that is not documented.
You'll need to create a custom preset map array to do this. KML Layer types takes the additional parameter called 'url' that defines the URL for the KML file.
I know this sounds a bit cryptic right now, we are working on better documentation that should clear all this up.
Comment #2
andrewrc CreditAttribution: andrewrc commentedThanks for feedback I will have a look, Andrew
Comment #3
maparallyes CreditAttribution: maparallyes commentedI'm looking forward to that documentation about importing KML files. It would be great if we could add a KML overlay to the map in Views in "Map Data Sources" menu.
Comment #4
zzolo CreditAttribution: zzolo commentedSee: http://drupal.org/node/596826