<div id="pub-map">
<div ex:role="coder"
ex:coderClass="SizeGradient"
id="size-coder"
ex:gradientPoints="1, 10; 1000, 100"> </div>
<div ex:role="coder"
ex:coderClass="Color"
id="color-coder">
<span ex:color="#ff0000" ex:background="#ff0000">Red</span>
</div>
<div ex:role="view"
ex:viewClass="Map"
ex:type="satellite"
ex:latlng=".latlng"
ex:sizeKey=".publications"
ex:sizeCoder="size-coder"
ex:colorCoder="color-coder"
ex:sizeLegendLabel="publications"
ex:zoom="2"
ex:mapHeight="500"
ex:showHeader="false" ex:showFooter="false" ex:showSummary="false" ex:showToolbox="false">
<!-- custom popup when circle clicked -->
<div class="map-lens" ex:role="lens" style="display: none;">
<span ex:content=".publications"></span> publication(s) on <b ex:content=".label"></b>
</div>
</div>
</div>
> To post to this group, send email to simile-widgets@googlegroups.com.
> To unsubscribe from this group, send email to
Great, on to the next problem :)
David, Are you saying that I can use both a SizeGradient coder and a Color coder? I didn't know that. Thanks!So, I've added a color coder div as can be seen below (and live here: http://oecdco.de/map/map.html), and associated it with the map view, but the color of the circles remains orange (instead of red). What's missing?<div id="pub-map">
<div ex:role="coder"
ex:coderClass="SizeGradient"
id="size-coder"
ex:gradientPoints="1, 10; 1000, 100"> </div>
<div ex:role="coder"
ex:coderClass="Color"
id="color-coder">
<span ex:color="#ff0000" ex:background="#ff0000">Red</span>
</div>
<div ex:role="view"
ex:viewClass="Map"
ex:type="satellite"
ex:latlng=".latlng"
ex:sizeKey=".publications"