Re: [OpenLayers-Users] KML layer filter

2010-03-31 Thread AlessioDL
Solved usinfg Styles and rules: http://trac.openlayers.org/wiki/Styles Regards -- View this message in context: http://n2.nabble.com/KML-layer-filter-tp4823365p4829793.html Sent from the OpenLayers Users mailing list archive at Nabble.com. ___ Users

[OpenLayers-Users] KML layer filter

2010-03-30 Thread AlessioDL
Hi, I have a KML layer and I'd like to filter it. With the same method I always used for WFS does not work: var myFilter = new OpenLayers.Filter.Comparison({ type: OpenLayers.Filter.Comparison.EQUAL_TO, property: 'name', value: 'Area_01' }); var myLayer = new Ope

Re: [OpenLayers-Users] Custom navigation history buttons on toolbar

2010-02-27 Thread AlessioDL
I solved by using OpenLayers.Contro.Panel in my buttons... -- View this message in context: http://n2.nabble.com/Custom-navigation-history-buttons-on-toolbar-tp4639719p4645640.html Sent from the OpenLayers Users mailing list archive at Nabble.com. __

Re: [OpenLayers-Users] mysql database

2010-02-26 Thread AlessioDL
Hi, if you have UMN-Mapserver installed, you can use it to generate WMS (or WFS) layers. Then you can easily add the points to your map. http://mapserver.org/input/vector/mysql.html ciao -- View this message in context: http://n2.nabble.com/mysql-database-tp4632210p4639901.html Sent from the

[OpenLayers-Users] Custom navigation history buttons on toolbar

2010-02-26 Thread AlessioDL
Hi, i'm doing some experiments with OL and jQuery UI. I created a toolbar like http://www.filamentgroup.com/examples/buttonFrameworkCSS/ this and I added some functions associated with the correspondent buttons. Now I'd like to add navigation history buttons to my toolbar, but I have had not su

Re: [OpenLayers-Users] jQuery/OpenLayers-2.8 conflict

2010-01-30 Thread AlessioDL
Using let it works also in firefox Thanks for your help -- View this message in context: http://n2.nabble.com/jQuery-OpenLayers-2-8-conflict-tp4485516p4486326.html Sent from the OpenLayers Users mailing list archive at Nabble.com. ___ Users mailing l

Re: [OpenLayers-Users] jQuery/OpenLayers-2.8 conflict

2010-01-30 Thread AlessioDL
The code I've posted is all there... what do you mean with "some other error"? Firebug is installed, the errors are: jQuery is not defined $(document).ready is not a function -- View this message in context: http://n2.nabble.com/jQuery-OpenLayers-2-8-conflict-tp4485516p4486217.html Sent from t

[OpenLayers-Users] jQuery/OpenLayers-2.8 conflict

2010-01-30 Thread AlessioDL
Hi list, http://faq.openlayers.org/misc/why-doesnt-openlayers-work-with-jquery/ This page tells that the conflict issue between jQuery/OL "is fixed by default in release 2.8 and later". Probably I'm doing something wrong, but it seems that it is not true for Firefox. This is my code (very simp

[OpenLayers-Users] remove a specific marker from a marker layer

2009-09-08 Thread AlessioDL
Hi list, I added a marker layer to my map and populate it dynamically on_Click="markers.addMarker(new OpenLayers.Marker(new OpenLayers.LonLat('.$row['xy'].').transform(proj4326,proj900913)));"> Images/table/check the LonLat coordinates comes from postgis via php. For every row of my resultset

Re: [OpenLayers-Users] zoomToExtent and ExtJS Grid

2009-09-06 Thread AlessioDL
Bart van den Eijnden (OSGIS)-2 wrote: > > Hi, > > try using OpenLayers.Bounds.fromString. It takes a string as an argument > and returns a bounds. > > Best regards, > Bart > Bart, you are the best! It works like a charm! :-D -- View this message in context: http://n2.nabble.com/zoomToEx

[OpenLayers-Users] zoomToExtent and ExtJS Grid

2009-09-06 Thread AlessioDL
Hi all, I'm having a strange issue with zoomToExtent(bounds) when the bounds values come from and ExtJS GridPanel. This is my code // create the data store var store = new Ext.data.JsonStore({ url: 'resultSetJson.php', fields: [ {name

Re: [OpenLayers-Users] Style WFS layer by attributes

2009-09-01 Thread AlessioDL
Jerome Freyre wrote: > > Try to apply a stylemap to your vector layer. > Yes! It worked :D Thank you very much Jerome -- View this message in context: http://n2.nabble.com/Style-WFS-layer-by-attributes-tp3559456p3560917.html Sent from the OpenLayers Users mailing list archive at Nabble.

Re: [OpenLayers-Users] Style WFS layer by attributes

2009-09-01 Thread AlessioDL
Hi Jerome, probably I don't understood exactly how to apply your suggestion... If I use "new OpenLayers.Style" I can't apply any style to my features. The only way to style them appear to be: OpenLayers.Util.extend({}, OpenLayers.Feature.Vector.style['default']) So I need to do something like

[OpenLayers-Users] Style WFS layer by attributes

2009-09-01 Thread AlessioDL
Hi, I have this WFS layer from my UMN-Mapserver //Vector layer style var area_style = OpenLayers.Util.extend({}, OpenLayers.Feature.Vector.style['default']); area_style.strokeWidth = 1.5; area_style.strokeColor = "#ff"; area_style.fillOpacity = 0.75; //Layer definition qArea

Re: [OpenLayers-Users] Save Vector drawings in PostGIS

2009-08-28 Thread AlessioDL
Thank you very much guys for your great and super-fast answers!!! Now I have a lot of example to study :-D -- View this message in context: http://n2.nabble.com/Save-Vector-drawings-in-PostGIS-tp3535558p3536621.html Sent from the OpenLayers Users mailing list archive at Nabble.com. __

[OpenLayers-Users] Save Vector drawings in PostGIS

2009-08-28 Thread AlessioDL
Hi, I'm looking for a strategy to use OL as an editor to populate a polygon postgis layer. I can't use WFS-T because I have to work with UMN-Mapserver that doesn't support this specification. What I would like to do is this: (1) use the drawing tools to create my vector features on the map (2)

[OpenLayers-Users] FrameCloud GetFeatureInfo pupup issue

2009-07-14 Thread AlessioDL
Hi, this is my code for the GetFeatureInfo (from the examples page) [code] info = new OpenLayers.Control.WMSGetFeatureInfo({ url: wmsURL, title: 'Identify features by clicking', queryVisible: true, eventListeners: { getfeatureinfo: function(event) {