[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: [

Re: [OpenLayers-Users] zoomToExtent and ExtJS Grid

2009-09-06 Thread Bart van den Eijnden (OSGIS)
Hi, try using OpenLayers.Bounds.fromString. It takes a string as an argument and returns a bounds. Best regards, Bart AlessioDL wrote: 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

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: