Hi,
I have a very simple question: is it possible to modify features in a layer
populated from a GeoJSON file? I am asking just about modifying feature on
map without the saving part.
I did add the modifyFeature control, but I cannot select and modify any of
the polygons in this layer ( var
Hi,
Only one select control can be active at the same time. Selections are made
in the layer that is on top of the Z-order.
Kind regards,
Jan
_
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Adorian Ardelean
Sent: Thursday, December 04, 2008 09:47
To:
Just to say congrats and thanks to Eric, for what hes done and for
what he'll do in future, its nice to have him around :) Tnx for the
whole team also, ure great guys!
Regards,
On Wed, Dec 3, 2008 at 3:51 PM, Tim Schaub [EMAIL PROTECTED] wrote:
Hey-
Glad to have you on board Eric - and the
Dear Adorian,
This is the code I have to activate a modifyFeature on a geojson layer. I
have a lot of those, so I activate it on a layer by name:
modifyControl = new
OpenLayers.Control.ModifyFeature(map.getLayersByName(stateNames[modifyContro
lIndex])[0]);
Do you think there is a way to select the layer after the event is thrown ?
Imagine, you click the mouse on a feature, in fact on 2 features -
superimposed -, the UI shows you the both features, and you could select
onedraw the attributes of the selected one
but for that, we need have
Dear Jan,
I have tried to declare the control also as in your example. It did not work
either.
In the meantime, I have localized the problem although I do not have a
solution to it yet.
Turns out that if I remove style declaration the modify tool works.
With this the modifyFeature does not
Hi again,
I have eliminated also the context for style as a source of problem for the
modifyFeature control not working. So it seems that just by specifying a
styleMap as option when declaring the vector layer makes the modifyFeature
control not functional.
var template = {
fillOpacity: 0.6,
Christopher Schmidt wrote:
The key questions about any page that gets associated with an OpenLayers
wiki page, gallery page, etc. is (in my mind): What does this give to
users? I don't see that the current BGDA demo provides a lot to users:
It doens't seem to provide a particularly
Hi list,
within my geo-editor i want to set-up a panel/toolbar
whose buttons depend on the number of selected features.
I am using a panel to add the buttons, but there is no method to remove
the buttons or better all butoons.
Destroying the panel kills my buttons, which i want to be
In each Eric's e-mail/comment/response, we read professionalism,
kindness and a will to help the others. In brief, he's a great and nice
guy who deserves our thanks.
Congratulation Eric !
Erik Uzureau wrote:
The OpenLayers Project Steering Committee is proud to announce our
newest and
Hi, I'm trying to highlight a FeatureCollection by applying a SLD
FeatureTypeSytle.So I wirte an SLD file with two sld:LineSymbolizer
elements
sld:LineSymbolizer
sld:Stroke
sld:CssParameter name=stroke
ogc:Literalyellow/ogc:Literal
/sld:CssParameter
sld:CssParameter name=stroke-width
Little more info would help...are you talking about WMS layer? that
you're serving trough GeoServer or similar? or its about WFS, vector
layeR?
On Thu, Dec 4, 2008 at 3:12 PM, Ignacio Talavera
[EMAIL PROTECTED] wrote:
Hi, I'm trying to highlight a FeatureCollection by applying a SLD
Oops sorry :), I'm loading a GML layer from an xml,
map.addLayer(new OpenLayers.Layer.GML(layerName, gmlUrl,
{styleMap: new
OpenLayers.StyleMap(sld.namedLayers[layerStyle].userStyles[0])}
));
I attached the GML and SLD file :D.
thanks
On Thu, Dec 4, 2008 at 12:20 PM, Ivan Grcic [EMAIL
Hi,
you might want to have a look at:
http://trac.openlayers.org/ticket/1812
After applying the patch you can do something like:
function setHTML(response) {
var format = new OpenLayers.Format.WMSGetFeatureInfo();
var features = format.read(response.responseXML ||
Hello
Try:
new OpenLayers.StyleMap({
default: yourStyle
});
Hope this helps,
Eric
2008/12/4, Adorian Ardelean [EMAIL PROTECTED]:
Hi again,
I have eliminated also the context for style as a source of problem for the
modifyFeature control not working. So it seems that just by specifying
Thank you all for your encouragements. I'll show this thread to my
girlfriend :-)
Eric
2008/12/4, Alexandre Dube [EMAIL PROTECTED]:
In each Eric's e-mail/comment/response, we read professionalism,
kindness and a will to help the others. In brief, he's a great and nice
guy who deserves our
Hi,
On Thu, Nov 20, 2008 at 7:06 PM, Indika Tantrigoda [EMAIL PROTECTED] wrote:
Hello to all,
In my wfs-t modification request the tag is as follows
wfs:Update typeName =features
which I am guessing is causing a problem. Should typeName =
features:cities or typeName=topp:cities be present
Hi,
I would like to use OpenLayers and JQuery together. I noted the
jquery and prototype library conflicts and have added
$j = jQuery.noConflict();
to make the $ function available to OpenLayers.
However on loading the page I get (with firebug)
str.indexOf is not a function
[Break on this
I've been using OpenLayers for about 6 months I guess, and I've learned a
lot through
Eric's comments and responses.
Thanks and Congratulations Eric.
Regards,
Indika
2008/12/4 Eric Lemoine [EMAIL PROTECTED]
Thank you all for your encouragements. I'll show this thread to my
girlfriend :-)
Hola,
i dont think its possible use multi symbolizer for vectors in
openlayers. Or you have to draw twice ure lines, each time with other
line symbolizer (im not sure what will be result of that, and i think
dash-array is not supported-someone correct me if im wrong) or just
use WMS - where you
Hi,
Maybe this can helps.
var oStyle = new OpenLayers.Style({
pointRadius: ${radius},
fillOpacity: 0.4,
strokeColor: #00,
strokeWidth: 2
}, {
context: {
radius: function(feature) {
return
This works for me:
var crop_style = OpenLayers.Util.extend({},
OpenLayers.Feature.Vector.style['default']);
crop_style.strokeWidth = 3;
crop_style.strokeColor = #ff;
crop_style.fillOpacity = 0.25;
crop_style.pointRadius = 2;
That's odd Norman. I'm using the latest OpenLayers and JQuery together
on the same page without issue and without doing anything special to
avoid conflict. The basic features of OpenLayers that I'm using work
fine, and I'm able to use the $() function as is. I am loading the
Google and
I have a map with multiple layers (view at
http://ecotropolis.com/maps/NorthAmericaWatershed.html) and I want to be
able to click on a feature of any of the maps and retrieve data from the
WMS (I'm using Geoserver).
I initially got it working using the following line in getFullRequestString:
Amos,
thanks for the tip, building the single file version of OpenLayers
rather than using lib/OpenLayers.js solved the problem and I am
working again!
After building the single file version of OpenLayers I was able to
remove the jquery noConflicts function and everything works fine.
thanks,
Hi Alexandre,
No. This is very similar to what I had initially except adding select
style to stylemap. At click on feature, the select style is applied, but no
edit of vertex is possible (no drag-able circles appear on vertexes).
So I can make the layer editable by adding rule, but unfortunately
On Thu, Dec 4, 2008 at 11:25 PM, Adorian Ardelean [EMAIL PROTECTED] wrote:
Hi Alexandre,
No. This is very similar to what I had initially except adding select
style to stylemap. At click on feature, the select style is applied, but no
edit of vertex is possible (no drag-able circles appear on
Hi ,
I did try out the changes made in the patch.
Now, when i select the zoombox control, the mouse pointer changes to a
zoombox cursor. But i am still facing the same problem.Once, i zoom in
to an area using the control, the mouse pointer reverts back to the
default pointer.
Should i
28 matches
Mail list logo