Changeset 3436


Ignore:
Timestamp:
15/02/08 15:03:18 (12 years ago)
Author:
mkochan
Message:

Changed the balloon prototype for better alignment of CSML features.

Location:
DPPP/kml/csml2kml
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • DPPP/kml/csml2kml/python/csml2kml/KML.py

    r3434 r3436  
    168168                value = value.replace('#LON#', str(self.lon)) 
    169169                value = value.replace('#LAT#', str(self.lat)) 
    170                 value = value.replace('#FEATS#', self.featuresHtml) 
     170                value = value.replace('#FEATURES#', self.featuresHtml) 
    171171                SubElement(dataElement, 'value').text = value 
    172172                 
  • DPPP/kml/csml2kml/testdata/midas.csml2kml.conf.xml

    r3435 r3436  
    88    <GeoServerRequest> 
    99      <URL>http://bond.badc.rl.ac.uk:8089/dummyGeoServer/GetStationCSMLFeatures?gml_id=MIDAS_Stations_with_features</URL> 
    10       <BalloonTemplate>&lt;h2&gt;Station $[station_name]&lt;/h2&gt; Located at: 
    11 $[station_lon] longitude, $[station_lat] latitude). &lt;br&gt;Contains features: $[station_features]</BalloonTemplate> 
     10      <BalloonTemplate>&lt;h2&gt;Station $[station_name]&lt;/h2&gt;Contains features:&lt;br&gt;$[station_features]</BalloonTemplate> 
    1211      <StationData> 
    1312        <Datum name="station_id">#ID#</Datum> 
    1413        <Datum name="station_name">#NAME#</Datum> 
    15         <Datum name="station_lon">#LON#</Datum> 
    16         <Datum name="station_lat">#LAT#</Datum> 
    17         <Datum name="station_features">#FEATS#</Datum> 
     14        <Datum name="station_features">#FEATURES#</Datum> 
    1815      </StationData> 
    1916    </GeoServerRequest> 
Note: See TracChangeset for help on using the changeset viewer.