Skip to content

Instantly share code, notes, and snippets.

@gordonbanderson
Last active December 15, 2015 17:39
Show Gist options
  • Save gordonbanderson/5298146 to your computer and use it in GitHub Desktop.
Save gordonbanderson/5298146 to your computer and use it in GitHub Desktop.
if (Object::has_extension($this->owner->ClassName, 'MapLayerExtension')) {
foreach($this->owner->MapLayers() as $layer) {
$map->addKML($layer->KmlFile()->getAbsoluteURL());
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment