GeoMashup
[ class tree: GeoMashup ] [ index: GeoMashup ] [ all elements ]

Source for file map-frame.php

Documentation is available at map-frame.php

  1. <?php
  2. /**
  3.  * This is the default template for map frames.
  4.  *
  5.  * Don't modify this file! It will be overwritten by upgrades.
  6.  *
  7.  * Instead, copy this file to "geo-mashup-map-frame.php" in your theme directory,
  8.  * or map-frame.php in the Geo Mashup Custom plugin directory, if you have that
  9.  * installed. Those files take precedence over this one.
  10.  *
  11.  * For styling of map elements, see map-style-default.dev.css.
  12.  *
  13.  * Individual registered scripts can be added with code like
  14.  *
  15.  * <code>GeoMashupRenderMap::enqueue_script( 'colorbox' );</code>
  16.  *
  17.  * Or include all queued resources by replacing
  18.  *
  19.  * <code>GeoMashupRenderMap::head();</code>
  20.  *
  21.  * with
  22.  *
  23.  * <code>wp_head();</code>
  24.  *
  25.  * @package GeoMashup
  26.  */
  27. ?>
  28. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  29.         "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  30. <html xmlns="http://www.w3.org/1999/xhtml">
  31. <!--[if lte IE 6]>
  32. <html xmlns:v="urn:schemas-microsoft-com:vml">
  33. <![endif]-->
  34.  
  35.     <head>
  36.         <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
  37.     <title>Geo Mashup Map</title>
  38.         <?php GeoMashupRenderMap::head()?>
  39.  
  40.         <style type="text/css">
  41.             v\:* { behavior:url(#default#VML); }
  42.             #geo-mashup {
  43.                 width:<?php echo GeoMashupRenderMap::map_property'width' )?>;
  44.                 height:<?php echo GeoMashupRenderMap::map_property'height' )?>;
  45.             }
  46.         </style>
  47.     </head>
  48.     <body>
  49.     <div id="geo-mashup">
  50.         <noscript>
  51.             <p><?php _e'This map requires JavaScript. You may have to enable it in your settings.''GeoMashup' )?></p>
  52.         </noscript>
  53.     </div>
  54.     <?php echo GeoMashupRenderMap::map_script'geo-mashup' )?>
  55.     </body>
  56. </html>

Documentation generated on Sat, 09 Jul 2011 21:54:54 -0700 by phpDocumentor 1.4.3