openlayers.tpl.php 945 B

12345678910111213141516171819202122232425
  1. <?php
  2. /**
  3. * @file
  4. * Default theme implementation to display an Openlayers map.
  5. *
  6. * Debug the result of the function get_defined_vars() to have an overview
  7. * of all the variables you have access to.
  8. */
  9. ?>
  10. <div id="openlayers-container-<?php print $openlayers['id']; ?>" class="openlayers-container contextual-links-region">
  11. <div id="openlayers-map-container-<?php print $openlayers['id']; ?>" class="openlayers-map-container" style="<?php print $openlayers['styles']; ?>">
  12. <?php print render($openlayers['map_prefix']); ?>
  13. <div id="<?php print $openlayers['id']; ?>" class="<?php print $openlayers['classes']; ?>"></div>
  14. <?php print render($openlayers['map_suffix']); ?>
  15. </div>
  16. </div>
  17. <?php if (isset($openlayers['parameters'])): ?>
  18. <?php print render($openlayers['parameters']); ?>
  19. <?php endif; ?>
  20. <?php if (isset($openlayers['capabilities'])): ?>
  21. <?php print render($openlayers['capabilities']); ?>
  22. <?php endif; ?>