[mapguide-users] Can Cartographic Stylization Use Symbol libraries?

Scott Hameister scotth at mpowerinnovations.com
Mon Jul 13 17:07:37 EDT 2009


That's a straight point symbol not using the cartographic stylization
engine, which will allow me to use HWY shields as labels....
The HwyShield  Example gets me closer, but that doesn't use a
symboldefinition or a symbol library or even hex info...It confuses me more
since it points at InterstateShield.png...God knows where that is stored
since its not local????
     
<ResizeControl>'AdjustToResizeBox'</ResizeControl>
      <Reference>
        <ResourceId></ResourceId>
        <LibraryItemName>'InterstateShield.png'</LibraryItemName>
      </Reference>

I downloaded every State Hwy Symbol and created a symbol library out of
it...And I want to be able to use those as numbered labels..Was hoping to
create a master Set and contribute them back to the Group...

-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Tom Lazo /
Stygy
Sent: Monday, July 13, 2009 3:39 PM
To: mapguide-users at lists.osgeo.org
Subject: Re: [mapguide-users] Can Cartographic Stylization Use Symbol
libraries?


Hi,

Have you seen the phpviewerexample??, 
http://mapguide.osgeo.org/download/releases/2.0.x-samples.
http://mapguide.osgeo.org/download/releases/2.0.x-samples. 
Well..download it and open :
phpviewersample\findaddress\templates\addressmarker.xml.

I dunno if it helps...but this example uses a Symbol Library:

<PointSymbolization2D>
            <W2D>
              <Unit>Millimeters</Unit>
              <SizeContext>DeviceUnits</SizeContext>
              <SizeX>15</SizeX>
              <SizeY>15</SizeY>
              <W2DSymbol>
               
<ResourceId>Library://Samples/Sheboygan/Symbols/BasicSymbols.SymbolLibrary</
ResourceId>
                <LibraryItemName>PushPin - Blue</LibraryItemName>
              </W2DSymbol>
            </W2D>
</PointSymbolization2D>

Srry if it does not help.

Tom 


Flipper wrote:
> 
> Can Cartographic Stylization Use Symbol libraries?
> In every example I find they point at a symboldefinition and not a
> library..
> i.e.    
> <Image>
>       <Reference>
>         <ResourceId>'Library://HWYSYM.SymbolDefinition'</ResourceId>
>         <LibraryItemName>'CA_STH'</LibraryItemName>
>       </Reference>
>       <SizeX>10.8</SizeX>
>       <SizeY>11.2</SizeY>
>       <PositionX>0</PositionX>
>       <PositionY>0.8</PositionY>
>     </Image>
> 
> 
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 
> 


-----
http://n2.nabble.com/file/u222842/warning.png   Stygy is not a living being!
-- 
View this message in context:
http://n2.nabble.com/Feature-Vertices-%28Solution%29-tp3232857p3252872.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users




More information about the mapguide-users mailing list