Re: [OpenLayers-Users] Show polygon vectors as points

2010-04-29 Thread acangi
OK, I was able to see the marker locally also. To do it, I modified the function OpenLayers.Renderer.Elements.drawGeometry(geometry, style, featureId) : ... if (style.display != "none") { if (!style.strokeColor && !style.fillColor && (geometry.CLASS_NAME != "OpenLayers.Geometry.Point" )) {

Re: [OpenLayers-Users] Show polygon vectors as points

2010-04-28 Thread acangi
Hello, I'm also looking for a way to render a polygon as a marker. I found an example in the sandboxes : http://dev.openlayers.org/sandbox/topp/almanac/examples/vector-rendering-externalGraphics.html (the red marker is representing a polygon). I'm trying to do the same locally (using OL 2.9 a

Re: [OpenLayers-Users] Invisible ZoomBox

2009-11-12 Thread acangi
ad of removing them. acangi wrote: > > Hi list, > > I'm trying to use the controls Navigation and ZoomBox separately : using > my other (non-openlayers) controls, I'd like to switch between Navigation > and ZoomBox, like it's done here : > http://openlayers.or

[OpenLayers-Users] Invisible ZoomBox

2009-07-16 Thread acangi
Hi list, I'm trying to use the controls Navigation and ZoomBox separately : using my other (non-openlayers) controls, I'd like to switch between Navigation and ZoomBox, like it's done here : http://openlayers.org/dev/examples/navtoolbar-alwaysZoom.html http://openlayers.org/dev/examples/navtoolb