OpenLayers OpenLayers

Changeset 6145

Show
Ignore:
Timestamp:
02/08/08 17:19:28 (10 months ago)
Author:
crschmidt
Message:

In order to make it more clear that users are required to have the theme/
directory to deploy when depending on features which use CSS, and make it clear
how to override the CSS in OpenLayers, include <link rel> ags in all examples.
(Closes #884)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/openlayers/examples/GMLParser.html

    r5362 r6145  
    22  <head> 
    33    <title>OpenLayers GML Parser</title> 
     4    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    45    <style type="text/css"> 
    56        #map { 
  • trunk/openlayers/examples/accessible.html

    r6131 r6145  
    22    <head> 
    33        <title>OpenLayers Accessible Example</title> 
     4        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    45         
    56        <style type="text/css"> 
  • trunk/openlayers/examples/animated_panning.html

    r6131 r6145  
    22  <head> 
    33    <title>Animated Panning of the Map via map.panTo</title> 
     4    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    45    <style type="text/css"> 
    56        #map { 
  • trunk/openlayers/examples/attribution.html

    r6131 r6145  
    22    <head> 
    33        <title>OpenLayers Attribution Example</title> 
     4        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    45 
    56        <style type="text/css"> 
  • trunk/openlayers/examples/baseLayers.html

    r5362 r6145  
    33        <title>OpenLayers Base Layers Example</title> 
    44         
     5        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    56        <style type="text/css"> 
    67            #map { 
  • trunk/openlayers/examples/boxes-vector.html

    r6131 r6145  
    22    <head> 
    33        <title>OpenLayers Boxes Example</title> 
     4        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    45        <style type="text/css"> 
    56            #map { 
  • trunk/openlayers/examples/boxes.html

    r5362 r6145  
    22    <head> 
    33        <title>OpenLayers Boxes Example</title> 
     4        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    45        <style type="text/css"> 
    56            #map { 
  • trunk/openlayers/examples/buffer.html

    r6131 r6145  
    22    <head> 
    33        <title>OpenLayers Buffer Example</title> 
     4        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    45        <style type="text/css"> 
    56            #map { 
  • trunk/openlayers/examples/click-handler.html

    r6131 r6145  
    33        <title>OpenLayers Click Handler Example</title> 
    44         
     5        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    56        <style type="text/css"> 
    67            #map { 
  • trunk/openlayers/examples/click.html

    r5362 r6145  
    33        <title>OpenLayers Click Event Example</title> 
    44         
     5        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    56        <style type="text/css"> 
    67            #map { 
  • trunk/openlayers/examples/controls.html

    r5362 r6145  
    22    <head> 
    33        <title>OpenLayers Map Controls Example</title> 
     4 
     5        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    46        <style type="text/css"> 
    57            #map { 
  • trunk/openlayers/examples/custom-control-point.html

    r6131 r6145  
    22  <head> 
    33    <title>OpenLayers Custom Control Point Examle</title> 
     4    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    45    <style type="text/css"> 
    56        #map { 
  • trunk/openlayers/examples/custom-control.html

    r5659 r6145  
    22    <head> 
    33        <title>Custom Control Example</title> 
     4        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    45        <style type="text/css"> 
    56            #map { 
  • trunk/openlayers/examples/doubleSetCenter.html

    r5362 r6145  
    44        
    55        <script src="../lib/OpenLayers.js"></script> 
     6        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    67        <style type="text/css"> 
    78            #map { 
  • trunk/openlayers/examples/drag-feature.html

    r6131 r6145  
    33        <title>Drag Feature Example</title> 
    44         
     5        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    56        <style type="text/css"> 
    67            #map { 
  • trunk/openlayers/examples/draw-feature.html

    r5659 r6145  
    33        <title>Draw Feature Example</title> 
    44         
     5        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    56        <style type="text/css"> 
    67            #map { 
  • trunk/openlayers/examples/editingtoolbar.html

    r5659 r6145  
    44        <title>OpenLayers Editing Toolbar Example</title> 
    55         
     6        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    67        <style type="text/css"> 
    78            #map { 
  • trunk/openlayers/examples/example.html

    r5659 r6145  
    22  <head> 
    33    <title>OpenLayers Example</title> 
     4    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    45    <style type="text/css"> 
    56        #map { 
  • trunk/openlayers/examples/fractional-zoom.html

    r6131 r6145  
    11<html xmlns="http://www.w3.org/1999/xhtml"> 
    22  <head> 
     3    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    34    <style type="text/css"> 
    45        #map { 
  • trunk/openlayers/examples/fullScreen.html

    r6126 r6145  
    33        <title>Full Screen Example</title> 
    44         
     5        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    56        <style type="text/css"> 
    67            #map { 
  • trunk/openlayers/examples/fullScreen2.html

    r6131 r6145  
    33        <title>Full Screen Example 2</title> 
    44         
     5        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    56        <style type="text/css"> 
    67            #map { 
  • trunk/openlayers/examples/geojson.html

    r6131 r6145  
    11<html xmlns="http://www.w3.org/1999/xhtml"> 
    22  <head> 
     3    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    34    <style type="text/css"> 
    45        #map { 
  • trunk/openlayers/examples/georss-flickr.html

    r6131 r6145  
    11<html xmlns="http://www.w3.org/1999/xhtml"> 
    22  <head> 
     3    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    34    <style type="text/css"> 
    45        #map { 
  • trunk/openlayers/examples/georss-markers.html

    r6131 r6145  
    22  <head> 
    33    <title>OpenLayers GeoRSS Marker Example</title> 
     4    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    45    <style type="text/css"> 
    56        #map { 
  • trunk/openlayers/examples/georss-serialize.html

    r5362 r6145  
    22  <head> 
    33    <title>OpenLayers GeoRSS Serialize Example</title> 
     4    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    45    <style type="text/css"> 
    56        #map { 
  • trunk/openlayers/examples/georss.html

    r5362 r6145  
    22  <head> 
    33    <title>OpenLayers GeoRSS Example</title> 
     4    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    45    <style type="text/css"> 
    56        #map { 
  • trunk/openlayers/examples/getfeatureinfo.html

    r5362 r6145  
    33    <title>OpenLayers Feature Info Example</title> 
    44    <script src="../lib/OpenLayers.js"></script> 
     5    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    56    <style type="text/css"> 
    67      ul, li { padding-left: 0px; margin-left: 0px; } 
  • trunk/openlayers/examples/gml-layer.html

    r5362 r6145  
    22  <head> 
    33    <title>OpenLayers GML Layer Example</title> 
     4    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    45    <style type="text/css"> 
    56        #map { 
  • trunk/openlayers/examples/gml-serialize.html

    r5362 r6145  
    22  <head> 
    33    <title>OpenLayers GML Serialization Example</title> 
     4    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    45    <style type="text/css"> 
    56        #map { 
  • trunk/openlayers/examples/google.html

    r5362 r6145  
    22  <head> 
    33    <title>OpenLayers Google Layer Example</title> 
     4    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    45    <style type="text/css"> 
    56        #map { 
  • trunk/openlayers/examples/gutter.html

    r6131 r6145  
    22  <head> 
    33    <title>OpenLayers Gutter Example</title> 
     4    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    45    <style type="text/css"> 
    56        #map { 
  • trunk/openlayers/examples/hover-handler.html

    r6131 r6145  
    22    <head> 
    33        <title>OpenLayers Hover Handler Example</title> 
     4        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    45         
    56        <style type="text/css"> 
  • trunk/openlayers/examples/image-layer.html

    r5362 r6145  
    22  <head> 
    33    <title>OpenLayers Image Layer Example</title> 
     4    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    45    <style type="text/css"> 
    56        p { 
  • trunk/openlayers/examples/intersects.html

    r6131 r6145  
    22  <head> 
    33    <title>Geometry Intersections</title> 
     4    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    45    <style type="text/css"> 
    56        html, body { 
  • trunk/openlayers/examples/kamap.html

    r5362 r6145  
    22  <head> 
    33    <title>OpenLayers KaMap Example</title> 
     4    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    45    <style type="text/css"> 
    56        #map { 
  • trunk/openlayers/examples/kml-layer.html

    r5362 r6145  
    11<html xmlns="http://www.w3.org/1999/xhtml"> 
    22  <head> 
     3    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    34    <style type="text/css"> 
    45        #map { 
  • trunk/openlayers/examples/layer-opacity.html

    r5362 r6145  
    22  <head> 
    33    <title>OpenLayers Layer Opacity Example</title> 
     4    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    45    <style type="text/css"> 
    56        body { 
  • trunk/openlayers/examples/layerLoadMonitoring.html

    r6131 r6145  
    22  <head> 
    33    <title>OpenLayers Layer Load Monitoring Example</title> 
     4    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    45    <style type="text/css"> 
    56        #map { 
  • trunk/openlayers/examples/layerswitcher.html

    r6131 r6145  
    22  <head> 
    33    <title>OpenLayers Layer Switcher Example</title> 
     4    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    45    <style type="text/css"> 
    56        #map { 
  • trunk/openlayers/examples/lite.html

    r5362 r6145  
    22  <head> 
    33    <title>OpenLayers Basic Single WMS Example</title> 
     4    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    45    <style type="text/css"> 
    56        #map { 
  • trunk/openlayers/examples/mapserver.html

    r5362 r6145  
    22  <head> 
    33    <title>MapServer Layer</title> 
     4    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    45    <style type="text/css"> 
    56        #map { 
  • trunk/openlayers/examples/mapserver_untiled.html

    r5362 r6145  
    22  <head> 
    33    <title>MapServer Single Tile Mode</title> 
     4    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    45    <style type="text/css"> 
    56        #map { 
  • trunk/openlayers/examples/markerResize.html

    r5362 r6145  
    22  <head> 
    33    <title>Resize a Marker</title> 
     4    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    45    <style type="text/css"> 
    56        #map { 
  • trunk/openlayers/examples/markers.html

    r5362 r6145  
    22  <head> 
    33    <title>Markers Layer Example</title> 
     4    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    45    <style type="text/css"> 
    56        #map { 
  • trunk/openlayers/examples/markersTextLayer.html

    r5362 r6145  
    22  <head> 
    33    <title>Using a Layer.Text to display markers</title> 
     4    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    45    <style type="text/css"> 
    56        #map { 
  • trunk/openlayers/examples/mm.html

    r5362 r6145  
    22  <head> 
    33    <title>MultiMap</title> 
     4    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    45    <style type="text/css"> 
    56        #map { 
  • trunk/openlayers/examples/modify-feature.html

    r6131 r6145  
    22  <head> 
    33    <title>Modify Feature</title> 
     4    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    45    <style type="text/css"> 
    56        #map { 
  • trunk/openlayers/examples/mouse-position.html

    r6131 r6145  
    44  <head> 
    55    <title>MousePosition Control</title> 
     6    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    67    <style type="text/css"> 
    78        body { 
  • trunk/openlayers/examples/multimap-mercator.html

    r6131 r6145  
    22  <head> 
    33    <title>MultiMap SphericalMercator</title> 
     4    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    45    <style type="text/css"> 
    56        #map { 
  • trunk/openlayers/examples/multiserver.html

    r5576 r6145  
    11<html xmlns="http://www.w3.org/1999/xhtml"> 
    22  <head> 
     3    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    34    <style type="text/css"> 
    45        #map { 
  • trunk/openlayers/examples/navtoolbar.html

    r5362 r6145  
    11<html xmlns="http://www.w3.org/1999/xhtml"> 
    22  <head> 
     3    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    34    <style type="text/css"> 
    45        #map { 
  • trunk/openlayers/examples/notile.html

    r5362 r6145  
    11<html xmlns="http://www.w3.org/1999/xhtml"> 
    22  <head> 
     3    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    34    <style type="text/css"> 
    45        #mapDiv { 
  • trunk/openlayers/examples/openmnnd.html

    r5362 r6145  
    11<html xmlns="http://www.w3.org/1999/xhtml"> 
    22  <head> 
     3    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    34    <style type="text/css"> 
    45        #map { 
  • trunk/openlayers/examples/osm-layer.html

    r6131 r6145  
    11<html xmlns="http://www.w3.org/1999/xhtml"> 
    22  <head> 
     3    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    34    <style type="text/css"> 
    45        #map { 
  • trunk/openlayers/examples/outOfRangeMarkers.html

    r6131 r6145  
    22<head> 
    33    <title>Using maxResolution to control overlays</title> 
     4    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    45    <style type="text/css"> 
    56        #map { 
  • trunk/openlayers/examples/overviewmap.html

    r5674 r6145  
    22    <head> 
    33        <title>Overview Map Example</title> 
     4        <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    45        <script src="../lib/OpenLayers.js" type="text/javascript"></script> 
    56        <style> 
  • trunk/openlayers/examples/panel.html

    r5910 r6145  
    11<html xmlns="http://www.w3.org/1999/xhtml"> 
    22  <head> 
     3    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    34    <style type="text/css"> 
    45        #map { 
  • trunk/openlayers/examples/point-track-markers.html

    r5836 r6145  
    11<html xmlns="http://www.w3.org/1999/xhtml"> 
    22  <head> 
     3    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    34    <style type="text/css"> 
    45        #map { 
  • trunk/openlayers/examples/popups.html

    r5362 r6145  
    11<html xmlns="http://www.w3.org/1999/xhtml"> 
    22  <head> 
     3    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    34    <style type="text/css"> 
    45        #map { 
  • trunk/openlayers/examples/projected-map.html

    r5362 r6145  
    22  <head> 
    33 
     4    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    45    <style type="text/css"> 
    56    body { 
  • trunk/openlayers/examples/regular-polygons.html

    r6131 r6145  
    22  <head> 
    33    <title>OpenLayers Regular Polygon Example</title> 
     4    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    45    <style type="text/css"> 
    56        html, body { 
  • trunk/openlayers/examples/resize-features.html

    r6131 r6145  
    22  <head> 
    33    <title>OpenLayers Resize Features Example</title> 
     4    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    45    <style type="text/css"> 
    56        #map { 
  • trunk/openlayers/examples/restricted-extent.html

    r6131 r6145  
    22  <head> 
    33    <title>OpenLayers Restricted Extent Example</title> 
     4    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    45    <style type="text/css"> 
    56        #map { 
  • trunk/openlayers/examples/rotate-features.html

    r6131 r6145  
    22  <head> 
    33    <title>OpenLayers Rotate Features Example</title> 
     4    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    45    <style type="text/css"> 
    56        #map { 
  • trunk/openlayers/examples/select-feature-openpopup.html

    r6131 r6145  
    22  <head> 
    33