[fusion-commits] r1791 - trunk/templates/mapserver/standard

svn_fusion at osgeo.org svn_fusion at osgeo.org
Tue Feb 17 14:58:04 EST 2009


Author: pdeschamps
Date: 2009-02-17 14:58:04 -0500 (Tue, 17 Feb 2009)
New Revision: 1791

Modified:
   trunk/templates/mapserver/standard/ApplicationDefinition.xml
Log:
added MapTips test syntax



Modified: trunk/templates/mapserver/standard/ApplicationDefinition.xml
===================================================================
--- trunk/templates/mapserver/standard/ApplicationDefinition.xml	2009-02-13 22:29:59 UTC (rev 1790)
+++ trunk/templates/mapserver/standard/ApplicationDefinition.xml	2009-02-17 19:58:04 UTC (rev 1791)
@@ -23,7 +23,7 @@
         <Type>MapServer</Type>
         <SingleTile>true</SingleTile>
         <Extension>
-            <MapFile>/ms4w/apps/gmap/htdocs/gmap75.map</MapFile>
+            <MapFile>/home/pdeschamps/fgs/apps/gmap-orig/htdocs/gmap75.map</MapFile>
         </Extension>
       </Map>
     </MapGroup>
@@ -443,6 +443,7 @@
       <Label>Refresh Map</Label>
       <Disabled/>
     </Widget>
+    
 
 <!-- CONTEXT MENU ZOOM FIXED (OUT) -->
 
@@ -1169,6 +1170,37 @@
       <Disabled/>
     </Widget>
 
+<!-- MAPTIPS -->
+    <Widget xsi:type="UiWidgetType">
+      <Name>Maptip</Name>
+      <Type>Maptip</Type>
+      <Extension xsi:type="CustomContentType">
+        <Delay>250</Delay>
+        <Tolerance>5</Tolerance>
+        <Maptip>
+            <Layer>popplace </Layer>
+            <Label>Populated Places</Label>
+            <TextField>NAME</TextField>
+            <CustomURL>http://localhost/populationInfo.php?cityname=[NAME]</CustomURL>
+        </Maptip>
+        <Maptip>
+            <Layer>park</Layer>
+            <TextField>NAME_E</TextField>   
+        </Maptip>
+        <Maptip>
+            <Layer>park</Layer>
+            <Label>Area KMSQ</Label>
+            <TextField>AREA_KMSQ</TextField>
+            <CustomURL>http://localhost/showParkArea.php?parkId=[PARK_ID]&amp;areakmsq=[AREA_KMSQ]</CustomURL>
+        </Maptip>
+        <Maptip>
+            <Layer>park</Layer>
+            <Label>Year Established</Label>
+            <TextField>YEAR_EST</TextField>
+        </Maptip>
+      </Extension>
+    </Widget>
+
     </WidgetSet>
 
   <Extension/>



More information about the fusion-commits mailing list