mark symbol action

Kencana bluesky_dyx at hotmail.com
Tue Nov 7 07:50:52 EST 2006


Hi,

Thanks for the explanation...will try it out...hopefully can work as
expected..
anyway thank you very much for the guidance...currently I am trying to
implement
the google tooltip method into my map...anyway hav try it 2 days without any
result...:(
hope somebody can giv me some information about this...

Regards,
Kencana


Farah-2 wrote:
> 
> Hi,
> 
> If you are creating the marker  layer as per the developer guide method,
> you
> should be referring to a xml file while creating the layer right? In that
> file , make the necessary changes. I am attaching some sample code.
> 
> Do you mean , is it possible to have links to other pages in the tooltip?
> I
> am not sure about that. I havent tried it out.Will let you know if I find
> out..:-)
> You can load images into the tooltip though.
> 
> regards
> farah
> 
> -----Original Message-----
> From: Kencana [mailto:bluesky_dyx at hotmail.com] 
> Sent: Tuesday, November 07, 2006 5:24 PM
> To: users at mapguide.osgeo.org
> Subject: [mapguide-users] RE: mark symbol action
> 
> 
> Hi,
> 
> Thanx for the reply, but can you explain more in detail..
> you mean i should edit the LayerDefinition-1.0.0.xsd file is it?
> i create the mark symbol by following developer guide method.
> is that possible to create a tooltip where another web pages is being
> loaded
> into the tooltip.
> just like google map.when you search one particular places it will show a
> tooltip where contains the 
> respective place information, as well as some other map features such as
> "What's near by", "how to get here", etc.
> I am looking forward for the reply, and thank you for the guidance
> 
> Regards, 
> Kencana
> 
> 
> Farah-2 wrote:
>> 
>> Hi,
>> 
>> You need to set the url in the layer.xml file. Say for example:
>>  
>> <Url>&apos;http://www.yahoo.com&apos;</Url>  
>> 
>> 
>> 
>> Regards
>> Farah  
>> 
>> -----Original Message-----
>> From: Kencana [mailto:bluesky_dyx at hotmail.com] 
>> Sent: Monday, November 06, 2006 2:32 PM
>> To: users at mapguide.osgeo.org
>> Subject: [mapguide-users] mark symbol action
>> 
>> 
>> hi all,
>> 
>> is that possible to embed an action to a mark symbol like invoke url
>> action?
>> 
>> regards,
>> Kencana
>> -- 
>> View this message in context:
>> http://www.nabble.com/mark-symbol-action-tf2581167.html#a7195302
>> Sent from the MapGuide Users mailing list archive at Nabble.com.
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
>> For additional commands, e-mail: users-help at mapguide.osgeo.org
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
>> For additional commands, e-mail: users-help at mapguide.osgeo.org
>> 
>> 
>> 
> 
> -- 
> View this message in context:
> http://www.nabble.com/mark-symbol-action-tf2581167.html#a7217017
> Sent from the MapGuide Users mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
> For additional commands, e-mail: users-help at mapguide.osgeo.org
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <LayerDefinition version="1.0.0"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xsi:noNamespaceSchemaLocation="LayerDefinition-1.0.0.xsd">
>   <VectorLayerDefinition>
>     <ResourceId></ResourceId>
>     <FeatureName>ParcelMarker</FeatureName>
>     <FeatureNameType>FeatureClass</FeatureNameType>
>     
>     <PropertyMapping>
>             <Name>NGO_NAME</Name>
>             <Value>1.Name:</Value>
>     </PropertyMapping>
>     
>     <PropertyMapping>
>             <Name>NGO_ADDRESS</Name>
>             <Value>2.Full Address:</Value>
>     </PropertyMapping>
>    
>     
>     <PropertyMapping>
>                 <Name>ORG_TYPE</Name>
>                 <Value>3.Type</Value>
>     </PropertyMapping> 
>     
>    
>       
>           
>     <Geometry>Location</Geometry>
>     
>    
> <Url>concat(&apos;http://localhost:8008/mapguide/iwp/details.jsp?Id=&apos;,
> concat(&quot;NGO_ID&quot;, concat(&apos;&amp;SESSION=&apos;,
> &quot;SESSION_VAL&quot;)))</Url>
>     
>     
>     <ToolTip>concat( 'Organisation : ', concat(NGO_NAME, concat( '
> .\nAddress: ' ,concat( NGO_ADDRESS,concat (' .\nType:
> ',ORG_TYPE)))))</ToolTip>
> 
>     
>     
>     <VectorScaleRange>
>     <MinScale>100000</MinScale>
>       <MaxScale>35000000</MaxScale>
>       <PointTypeStyle>
>         <DisplayAsText>false</DisplayAsText>
>         <AllowOverpost>false</AllowOverpost>
>         <PointRule>
>           <LegendLabel></LegendLabel>
>           <Label>
>             <Unit>Points</Unit>
>             <SizeContext>DeviceUnits</SizeContext>
>             <SizeX>0.3</SizeX>
>             <SizeY>5</SizeY>
>             <Text></Text>
>             <FontName>Verdana</FontName>
>             <ForegroundColor>FF000000</ForegroundColor>
>             <BackgroundColor>FFFFFFFF</BackgroundColor>
>             <BackgroundStyle>Ghosted</BackgroundStyle>
>             <HorizontalAlignment>&apos;Center&apos;</HorizontalAlignment>
>             <VerticalAlignment>&apos;Baseline&apos;</VerticalAlignment>
>           </Label>
>           <PointSymbolization2D>
>             <W2D>
>               <Unit>Millimeters</Unit>
>               <SizeContext>DeviceUnits</SizeContext>
>               <SizeX>7</SizeX>
>               <SizeY>7</SizeY>
>               <W2DSymbol>
>                
> <ResourceId>Library://Arghyam/4.SYMBOLS/BasicSymbols.SymbolLibrary</ResourceId>
>                 <LibraryItemName>PushPin</LibraryItemName>
>               </W2DSymbol>
>             </W2D>
>           </PointSymbolization2D>
>         </PointRule>
>       </PointTypeStyle>
>     </VectorScaleRange>
>      <VectorScaleRange>
>     
>             <MaxScale>100000</MaxScale>
>             <PointTypeStyle>
>               <DisplayAsText>false</DisplayAsText>
>               <AllowOverpost>false</AllowOverpost>
>               <PointRule>
>                 <LegendLabel></LegendLabel>
>                 <Label>
> 		    <Unit>Points</Unit>
> 		    <SizeContext>DeviceUnits</SizeContext>
> 		    <SizeX>0.4</SizeX>
> 		    <SizeY>7</SizeY>
> 		    <Text>NGO_NAME</Text>
> 		    <FontName>Arial</FontName>
> 		    <ForegroundColor>FF000000</ForegroundColor>
> 		    <BackgroundColor>FFFFFFFF</BackgroundColor>
> 		    <BackgroundStyle>Ghosted</BackgroundStyle>
> 		    <HorizontalAlignment>&apos;Center&apos;</HorizontalAlignment>
> 		    <VerticalAlignment>&apos;Top&apos;</VerticalAlignment>
> 		</Label>
> 	  <PointSymbolization2D>
> 	    <W2D>
> 	      <Unit>Millimeters</Unit>
> 	      <SizeContext>DeviceUnits</SizeContext>
> 	      <SizeX>7</SizeX>
> 	      <SizeY>7</SizeY>
> 	      <W2DSymbol>
> 	
> <ResourceId>Library://Arghyam/4.SYMBOLS/BasicSymbols.SymbolLibrary</ResourceId>
> 		<LibraryItemName>PushPin</LibraryItemName>
> 	      </W2DSymbol>
> 	    </W2D>
> 	  </PointSymbolization2D>
> 	</PointRule>
>       </PointTypeStyle>
>       </VectorScaleRange>
>     
>   </VectorLayerDefinition>
> </LayerDefinition>
> 
>  
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
> For additional commands, e-mail: users-help at mapguide.osgeo.org
> 

-- 
View this message in context: http://www.nabble.com/mark-symbol-action-tf2581167.html#a7217748
Sent from the MapGuide Users mailing list archive at Nabble.com.





More information about the Mapguide_users mailing list