OpenLayers OpenLayers

Changeset 6152

Show
Ignore:
Timestamp:
02/08/08 19:46:49 (1 year ago)
Author:
ahocevar
Message:

merged with trunk; applied previous styleMap patch

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • sandbox/ahocevar/styleMap/examples/GMLParser.html

    r5362 r6152  
    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 { 
  • sandbox/ahocevar/styleMap/examples/accessible.html

    r6131 r6152  
    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"> 
  • sandbox/ahocevar/styleMap/examples/animated_panning.html

    r6131 r6152  
    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 { 
  • sandbox/ahocevar/styleMap/examples/attribution.html

    r6131 r6152  
    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"> 
  • sandbox/ahocevar/styleMap/examples/baseLayers.html

    r5362 r6152  
    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 { 
  • sandbox/ahocevar/styleMap/examples/boxes-vector.html

    r6131 r6152  
    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 { 
  • sandbox/ahocevar/styleMap/examples/boxes.html

    r5362 r6152  
    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 { 
  • sandbox/ahocevar/styleMap/examples/buffer.html

    r6131 r6152  
    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 { 
  • sandbox/ahocevar/styleMap/examples/click-handler.html

    r6131 r6152  
    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 { 
  • sandbox/ahocevar/styleMap/examples/click.html

    r5362 r6152  
    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 { 
  • sandbox/ahocevar/styleMap/examples/controls.html

    r5362 r6152  
    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 { 
  • sandbox/ahocevar/styleMap/examples/custom-control-point.html

    r6131 r6152  
    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 { 
  • sandbox/ahocevar/styleMap/examples/custom-control.html

    r5659 r6152  
    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 { 
  • sandbox/ahocevar/styleMap/examples/doubleSetCenter.html

    r5362 r6152  
    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 { 
  • sandbox/ahocevar/styleMap/examples/drag-feature.html

    r6131 r6152  
    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 { 
  • sandbox/ahocevar/styleMap/examples/draw-feature.html

    r5659 r6152  
    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 { 
  • sandbox/ahocevar/styleMap/examples/editingtoolbar.html

    r5659 r6152  
    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 { 
  • sandbox/ahocevar/styleMap/examples/example.html

    r5659 r6152  
    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 { 
  • sandbox/ahocevar/styleMap/examples/fractional-zoom.html

    r6131 r6152  
    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 { 
  • sandbox/ahocevar/styleMap/examples/fullScreen.html

    r6126 r6152  
    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 { 
     
    2324                map = new OpenLayers.Map('map'); 
    2425 
    25             var ol_wms = new OpenLayers.Layer.WMS( "OpenLayers WMS", 
    26                     "http://labs.metacarta.com/wms/vmap0", 
    27                     {layers: 'basic'} ); 
    2826            var jpl_wms = new OpenLayers.Layer.WMS( "NASA Global Mosaic", 
    2927                "http://t1.hypercube.telascience.org/cgi-bin/landsat7",  
  • sandbox/ahocevar/styleMap/examples/fullScreen2.html

    r6131 r6152  
    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 { 
  • sandbox/ahocevar/styleMap/examples/geojson.html

    r6131 r6152  
    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 { 
  • sandbox/ahocevar/styleMap/examples/georss-flickr.html

    r6131 r6152  
    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 { 
     
    3132            style = new OpenLayers.Style({externalGraphic: "${thumbnail}"}); 
    3233             
     34            // make the thumbnails larger when we select them 
     35            selectStyle = new OpenLayers.Style({pointRadius: 35}); 
     36             
    3337            // create a rule with a point symbolizer that will make the thumbnail 
    3438            // larger if the title of the rss item conatins "powder" 
     
    4751            style.addRules([rule, elseRule]); 
    4852             
    49             markerLayer = new OpenLayers.Layer.Vector("", {style: style}); 
     53            markerLayer = new OpenLayers.Layer.Vector("", {styleMap: new OpenLayers.StyleMap({ 
     54                "default": style, 
     55                "select": selectStyle})}); 
    5056            map.addLayer(markerLayer); 
    5157             
    5258            // control that will show a popup when clicking on a thumbnail 
    5359            var popupControl = new OpenLayers.Control.SelectFeature(markerLayer, { 
    54               selectStyle: style, 
    5560              onSelect: function(feature) { 
    5661                  var pos = feature.geometry; 
  • sandbox/ahocevar/styleMap/examples/georss-markers.html

    r6131 r6152  
    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 { 
  • sandbox/ahocevar/styleMap/examples/georss-serialize.html

    r5362 r6152  
    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 { 
  • sandbox/ahocevar/styleMap/examples/georss.html

    r5362 r6152  
    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 { 
  • sandbox/ahocevar/styleMap/examples/getfeatureinfo.html

    r5362 r6152  
    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; } 
  • sandbox/ahocevar/styleMap/examples/gml-layer.html

    r5362 r6152  
    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 { 
  • sandbox/ahocevar/styleMap/examples/gml-serialize.html

    r5362 r6152  
    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 { 
  • sandbox/ahocevar/styleMap/examples/google.html

    r5362 r6152  
    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 { 
  • sandbox/ahocevar/styleMap/examples/gutter.html

    r6131 r6152  
    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 { 
  • sandbox/ahocevar/styleMap/examples/hover-handler.html

    r6131 r6152  
    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"> 
  • sandbox/ahocevar/styleMap/examples/image-layer.html

    r5362 r6152  
    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 { 
  • sandbox/ahocevar/styleMap/examples/intersects.html

    r6131 r6152  
    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 { 
  • sandbox/ahocevar/styleMap/examples/kamap.html

    r5362 r6152  
    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 { 
  • sandbox/ahocevar/styleMap/examples/kml-layer.html

    r5362 r6152  
    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 { 
  • sandbox/ahocevar/styleMap/examples/layer-opacity.html

    r5362 r6152  
    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 { 
  • sandbox/ahocevar/styleMap/examples/layerLoadMonitoring.html

    r6131 r6152  
    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 { 
  • sandbox/ahocevar/styleMap/examples/layerswitcher.html

    r6131 r6152  
    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 { 
  • sandbox/ahocevar/styleMap/examples/lite.html

    r5362 r6152  
    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 { 
  • sandbox/ahocevar/styleMap/examples/mapserver.html

    r5362 r6152  
    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 { 
  • sandbox/ahocevar/styleMap/examples/mapserver_untiled.html

    r5362 r6152  
    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 { 
  • sandbox/ahocevar/styleMap/examples/markerResize.html

    r5362 r6152  
    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 { 
  • sandbox/ahocevar/styleMap/examples/markers.html

    r5362 r6152  
    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 { 
  • sandbox/ahocevar/styleMap/examples/markersTextLayer.html

    r5362 r6152  
    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 { 
  • sandbox/ahocevar/styleMap/examples/mm.html

    r5362 r6152  
    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 { 
  • sandbox/ahocevar/styleMap/examples/modify-feature.html

    r6131 r6152  
    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 { 
  • sandbox/ahocevar/styleMap/examples/mouse-position.html

    r6131 r6152  
    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 { 
  • sandbox/ahocevar/styleMap/examples/multimap-mercator.html

    r6131 r6152  
    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 { 
  • sandbox/ahocevar/styleMap/examples/multiserver.html

    r5576 r6152  
    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 { 
  • sandbox/ahocevar/styleMap/examples/navtoolbar.html

    r5362 r6152  
    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 { 
  • sandbox/ahocevar/styleMap/examples/notile.html

    r5362 r6152  
    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 { 
  • sandbox/ahocevar/styleMap/examples/openmnnd.html

    r5362 r6152  
    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">