Hi, I have the same issue, any solution?<div><br></div><div>And here the fontSize seems to be ignored regardless of the renderers property being set or not.</div><div><br><div class="gmail_quote">On Mon, Aug 27, 2012 at 10:11 PM, Paw3l <span dir="ltr"><<a href="mailto:goghi@o2.pl" target="_blank">goghi@o2.pl</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
I have some vector layer defined in the following way:<br>
<br>
var vectors = new OpenLayers.Layer.Vector("GML", {<br>
renderers: ["Canvas", "SVG", "VML"],<br>
styleMap: new OpenLayers.StyleMap({'default':{<br>
pointRadius: 0,<br>
label : "\${name}",<br>
fontColor: "#0066CC",<br>
fontSize: "18px",<br>
fontFamily: "Courier New, monospace"<br>
}})<br>
});<br>
<br>
I can see that my fontSize for this layer is unheralded: no matter if it is<br>
set as "18px" or "26px" or whatever else it is displayed always in the same<br>
way. Interesting this is that when I comment the line<br>
<br>
renderers: ["Canvas", "SVG", "VML"],<br>
<br>
out the fontSize value seems to work properly.<br>
<br>
I suppose the fontSize is somehow overwritten in some renderer like Canvas.<br>
Is this possible? Could anyone tell me where should I look for it?<br>
<br>
Kind regards,<br>
Pawel<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://osgeo-org.1560.n6.nabble.com/fontSize-overwritten-in-renderer-tp4998159.html" target="_blank">http://osgeo-org.1560.n6.nabble.com/fontSize-overwritten-in-renderer-tp4998159.html</a><br>
Sent from the OpenLayers Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
</blockquote></div><br></div>