Thanks for your help! It worked.

-----原始邮件-----
发件人:"Jakob Erdmann" <[email protected]>
发送时间:2018-07-09 15:28:14 (星期一)
收件人: "徐晨翔" <[email protected]>, "Sumo project User discussions" 
<[email protected]>
抄送:
主题: Re: [sumo-user] Rendering Polygons and POI


The color is applied to image files as well (this can be used to tint grayscale 
images).
If you set the color to "white", it will render normally.


regards,
Jakob



2018-07-09 9:00 GMT+02:00 徐晨翔 via sumo-user <[email protected]>:
Hi

I followed the documentation but still can't render the POI in my net. I can 
successfully load the shape file, but the POI is rendered with one single color.
When I rendered vehicles in sumo, there is a option in the View Setting named 
Show As. You can find this option in vehicle, persons, Containers, etc. And 
change their shape with your own image file. But there is no such option in 
POIs nor in Polygons.

Hope someone can answer my question. 

Thanks a lot.

An example of my POI files is presented below:

<additionals>
<oly id="poly_0" color="green" fill="1" layer="0.00" shape="507.21,517.38 
605.25,595.00 662.86,544.34 614.65,493.28 550.10,480.61 507.21,517.38" 
imgFile="Aha-Soft-Standard-City-University.ico"/>
<poi id="POI_0" type="1" color="red" layer="0.00" x="446.55" y="612.72" 
angle="10.00" imgFile="Aha-Soft-Standard-City-University.ico" width="100.00" 
height="100.00"/>
</additionals>






------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user


_______________________________________________
sumo-user mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user

Reply via email to