Hi Sean,<br><br>At the moment I haven&#39;t tried to address this issue so I&#39;m afraid I won&#39;t be able to help you.<br>Notice
that the problem occurs if you try to use more than one vector layer,
but there won&#39;t be any problem if you use one vector layer and several
other layers.<br>
<br>Let me know if you give it a try!<br><br>Regards,<br><br>Jonathan<br><br><div class="gmail_quote">2009/12/10 Sean Gillies <span dir="ltr">&lt;<a href="mailto:sean.gillies@gmail.com">sean.gillies@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Jonathan,<br>
<br>
I&#39;m intrigued by your svgweb renderer. It looks useful to me in a<br>
project where I already possess nicely styled non-geographic layers of<br>
lines and text annotations as SVG, but don&#39;t want to reinvent the<br>
background image layer machinery and navigation and layer switching<br>
controls provided by OpenLayers.<br>
<br>
As you state in the table, multiple layers aren&#39;t working with flash<br>
forced. What&#39;s the problem with multiple layers?<br>
<br>
Regards,<br>
Sean<br>
<div><div></div><div class="h5"><br>
On Dec 4, 2009, at 12:46 AM, Jonathan Pasquier wrote:<br>
<br>
&gt; Hi Tim,<br>
&gt;<br>
&gt; I understand your point, I was just thinking that if it were<br>
&gt; possible to use a unique renderer across all platforms, it would<br>
&gt; greatly simplify maintenance and it would make it easier to add new<br>
&gt; feature.<br>
&gt; Well, it might happen one day, around 2020, when all browsers will<br>
&gt; implement the same standard for vector drawing :-)<br>
&gt;<br>
&gt; About the features that I would like to see added in OpenLayers...<br>
&gt; Well, you make me feel like a little child writing his letter to<br>
&gt; Father Christmas :-)<br>
&gt;<br>
&gt; I think it would be really nice to add an easy API to manipulate<br>
&gt; features.<br>
&gt; For instance it would be great to be able to assign arbitrary id or<br>
&gt; classes to a feature and then retrieve features using that id or<br>
&gt; class (a bit like what we can do with DOM node)<br>
&gt;<br>
&gt; It would also be great to have an easy way of setting individual<br>
&gt; properties of features.<br>
&gt; For instance, I could have a point feature that inherit its style<br>
&gt; from the layer style, but with a thicker border (in this case, I<br>
&gt; would like to be able to just set the stroke width ). This would<br>
&gt; behave a bit like CSS inheritance.<br>
&gt;<br>
&gt; Talking about features, there are also a couple of things that I<br>
&gt; think could be really great:<br>
&gt;<br>
&gt; It could be great also to add a state to the feature, to indicate<br>
&gt; weather a feature is selected or not. At the moment, if you want to<br>
&gt; know if a specific feature is selected, you have to loop through the<br>
&gt; selected features of the vector layers and check whether it is in it<br>
&gt; or not.<br>
&gt; The renderer could then use this information to decide which style<br>
&gt; to apply to the feature before drawing it.<br>
&gt; This, coupled with some methods to select features on a vector<br>
&gt; layer, would make it really easy to programmaticaly select features<br>
&gt; (at the moment you have to use the SelectControl to do it).<br>
&gt;<br>
&gt; Finally it would be great to have an API to animate features (or<br>
&gt; better said, to animate properties of feature, like radius, fill<br>
&gt; color, etc...).<br>
&gt;<br>
&gt; Well, at the end this has more of a wish-list than a simple mail :-)<br>
&gt; I would be happy to collaborate to get any of these features<br>
&gt; implemented in OpenLayers.<br>
&gt;<br>
&gt; Regards,<br>
&gt;<br>
&gt; Jonathan<br>
&gt;<br>
&gt; 2009/12/2 Tim Schaub &lt;<a href="mailto:tschaub@opengeo.org">tschaub@opengeo.org</a>&gt;<br>
&gt; Hey-<br>
&gt;<br>
&gt; Christopher Schmidt wrote:<br>
&gt; &gt; ----- Forwarded message from Jonathan Pasquier -----<br>
&gt; &gt;<br>
&gt; &gt; Hello Chris,<br>
&gt; &gt;<br>
&gt; &gt; I know that OpenLayers has support for vector drawing in all the<br>
&gt; browsers,<br>
&gt; &gt; I have used a lot this feature and it&#39;s working really well.<br>
&gt; &gt;<br>
&gt; &gt; What I wanted to do was just to experiment with SVG Web as well as<br>
&gt; get an<br>
&gt; &gt; insight on the internals of OpenLayers.<br>
&gt; &gt; As you can see on my webpage, the port of svg web to openlayers is<br>
&gt; not<br>
&gt; &gt; really usable at the moment (missing features + speed issue).<br>
&gt; &gt;<br>
&gt; &gt; I know that introducing a dependency upon an external library is<br>
&gt; not really<br>
&gt; &gt; great, but it could be nice to have a full SVG support across all<br>
&gt; browsers.<br>
&gt; &gt; This could allow us to use specific SVG features (SMIL, filters,<br>
&gt; etc..) or<br>
&gt; &gt; to use SVG art on openlayers maps.<br>
&gt; &gt;<br>
&gt; &gt; What do you think about it?<br>
&gt; &gt;<br>
&gt;<br>
&gt; My opinion is that we&#39;ll be better off enhancing what we have.  If<br>
&gt; there<br>
&gt; are SVG features that can be implemented in multiple browsers, then we<br>
&gt; should be able to do this in our current renderers (and we can<br>
&gt; cherry-pick any cross-browser implementation stuff that is appropriate<br>
&gt; from SVG Web).<br>
&gt;<br>
&gt; It would help to center this discussion around specific features.<br>
&gt; Since<br>
&gt; it makes sense from an OpenLayers perspective to talk about rendering<br>
&gt; features with symbolizers, what specific features would you like to<br>
&gt; see<br>
&gt; added (not in SVG speak but in OpenLayers speak)?<br>
&gt;<br>
&gt; Tim<br>
&gt;<br>
&gt; &gt; Regards,<br>
&gt; &gt;<br>
&gt; &gt; Jonathan<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; 2009/11/30 Christopher Schmidt &lt;<a href="mailto:crschmidt@metacarta.com">crschmidt@metacarta.com</a>&gt;<br>
&gt; &gt;<br>
&gt; &gt;&gt; On Fri, Nov 27, 2009 at 03:06:24PM +0100, Jonathan Pasquier wrote:<br>
&gt; &gt;&gt;&gt; Hello,<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; I have been doing some experiment with OpenLayers recently, and<br>
&gt; &gt;&gt; especially<br>
&gt; &gt;&gt;&gt; with the Vector feature.<br>
&gt; &gt;&gt;&gt; After seeing the recent announcement of a new release of SVG<br>
&gt; &gt;&gt;&gt; web&lt;<a href="http://code.google.com/p/svgweb/" target="_blank">http://code.google.com/p/svgweb/</a>&gt;,<br>
&gt; &gt;&gt;&gt; a js library which aims to provide suport for SVG to all browser,<br>
&gt; &gt;&gt;&gt; I have decided to try to integrate it with OpenLayers so I could<br>
&gt; use my<br>
&gt; &gt;&gt;&gt; beloved SVG under any browser (including IE!!!)<br>
&gt; &gt;&gt; OpenLayers already has support for vectors in all browsers,<br>
&gt; including IE.<br>
&gt; &gt;&gt; No use of an external library is neccesary.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; What were you trying to accomplish using svgweb?<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; -- Chris<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;&gt; After a couple of days fighting against the DOM, javascript and<br>
&gt; flash, I<br>
&gt; &gt;&gt;&gt; have finally manage to get something usable.<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; It still in alpha stage, but if you want you can give it a try.<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; Source and examples are available here:<br>
&gt; &gt;&gt;&gt; <a href="http://www.bordel-de-nerd.net/olsvgweb/" target="_blank">http://www.bordel-de-nerd.net/olsvgweb/</a><br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; I have only tested it under Firefox 3.5 and IE 8, but it should<br>
&gt; work with<br>
&gt; &gt;&gt;&gt; other browsers as well.<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; Any comment or suggestion will be welcome!<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; Regards,<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; Jonathan<br>
&gt; &gt;&gt;&gt; _______________________________________________<br>
&gt; &gt;&gt;&gt; Dev mailing list<br>
&gt; &gt;&gt;&gt; <a href="mailto:Dev@openlayers.org">Dev@openlayers.org</a><br>
&gt; &gt;&gt;&gt; <a href="http://openlayers.org/mailman/listinfo/dev" target="_blank">http://openlayers.org/mailman/listinfo/dev</a><br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; --<br>
&gt; &gt;&gt; Christopher Schmidt<br>
&gt; &gt;&gt; MetaCarta<br>
&gt; &gt;&gt;<br>
&gt; &gt;<br>
&gt; &gt; ----- End forwarded message -----<br>
&gt; &gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Tim Schaub<br>
&gt; OpenGeo - <a href="http://opengeo.org" target="_blank">http://opengeo.org</a><br>
&gt; Expert service straight from the developers.<br>
&gt; _______________________________________________<br>
&gt; Dev mailing list<br>
&gt; <a href="mailto:Dev@openlayers.org">Dev@openlayers.org</a><br>
&gt; <a href="http://openlayers.org/mailman/listinfo/dev" target="_blank">http://openlayers.org/mailman/listinfo/dev</a><br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Dev mailing list<br>
&gt; <a href="mailto:Dev@openlayers.org">Dev@openlayers.org</a><br>
&gt; <a href="http://openlayers.org/mailman/listinfo/dev" target="_blank">http://openlayers.org/mailman/listinfo/dev</a><br>
<br>
--<br>
</div></div><font color="#888888">Sean<br>
</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
Dev mailing list<br>
<a href="mailto:Dev@openlayers.org">Dev@openlayers.org</a><br>
<a href="http://openlayers.org/mailman/listinfo/dev" target="_blank">http://openlayers.org/mailman/listinfo/dev</a><br>
</div></div></blockquote></div><br>