mark symbol action

Kencana bluesky_dyx at hotmail.com
Wed Nov 8 01:02:35 EST 2006


Hi,

I got another question, what about in inserting hyperlinks " </ " function
into the label?
I have tried it out but it gave me error message...
I hope you can help me out

Regards,
Kencana


Andy Morsell wrote:
> 
> Line breaks don't work in the AJAX viewer but do with the DWF viewer. 
> This
> is as known bug and has been logged in Project Tracker. 
> 
> 
> Andy 
> 
> -----Original Message-----
> From: Kencana [mailto:bluesky_dyx at hotmail.com] 
> Sent: Tuesday, November 07, 2006 9:19 PM
> To: users at mapguide.osgeo.org
> Subject: [mapguide-users] RE: RE: mark symbol action
> 
> 
> Hi,
> 
> I want to ask something..in the label..is that possible to put line
> break?coz I have try to use \n,<br> it doesn't work at all..instead of
> breaking the line it print out the text...
> 
> the following is the coding
> 
> <Label>
>             <Unit>Points</Unit>
> 	
> <SizeContext>DeviceUnits</SizeContext>
> 	    						<SizeX>0.3</SizeX>
> 	    						<SizeY>10</SizeY>
> 	
> <Text>concat('Address:', concat('&lt;br/&gt;',Address))</Text>
> 	
> <FontName>Arial</FontName>
> 	
> <ForegroundColor>FF000000</ForegroundColor>
> 	
> <BackgroundColor>FFFFFFFF</BackgroundColor>
> 	
> <BackgroundStyle>Transparent</BackgroundStyle>
> 	
> <HorizontalAlignment>&apos;Center&apos;</HorizontalAlignment>
> 	
> <VerticalAlignment>&apos;Baseline&apos;</VerticalAlignment>
>           </Label>
> 
> I hope you can help me out from this problem...Thank you
> 
> 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=&a
>> pos;, 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</Resource
> Id>
>>                 <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</Resource
> Id>
>> 		<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#a7232946
> 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#a7233223
Sent from the MapGuide Users mailing list archive at Nabble.com.





More information about the Mapguide_users mailing list