hi All,<br><br>i have added the layer like this from geoserver:<br>var Assam_airports = new OpenLayers.Layer.WMS("Assam_airports",<br><br> "<a href="http://localhost:8080/geoserver/wms">http://localhost:8080/geoserver/wms</a>",<br>
{'layers': 'STUDENT:Assam_airports ', transparent: true, format: 'image/gif'},<br> {isBaseLayer: false}<br> );<br><br>so i want to read the bound of added layer in open layer .openlayer.Bound( left,bottom right,top);<br>
when we click on the added layer somebody help me, your help would be highly appreciated.<br><br>Thanx<br><br><br><div class="gmail_quote">On Fri, Nov 19, 2010 at 10:30 PM, <span dir="ltr"><<a href="mailto:openlayers-dev-request@lists.osgeo.org">openlayers-dev-request@lists.osgeo.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Send Dev mailing list submissions to<br>
<a href="mailto:openlayers-dev@lists.osgeo.org">openlayers-dev@lists.osgeo.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://lists.osgeo.org/mailman/listinfo/openlayers-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-dev</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:openlayers-dev-request@lists.osgeo.org">openlayers-dev-request@lists.osgeo.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:openlayers-dev-owner@lists.osgeo.org">openlayers-dev-owner@lists.osgeo.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Dev digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Re: multiple maps with same events. (Matt Priour)<br>
2. Re: modifying the openlayer default style (Matt Priour)<br>
3. Re: Measure.js Hover / Partial Measure. New Event<br>
'measurehover' and callback? (Fabian Patzke (OL))<br>
4. Using OpenLayers.Format.Text to load user data into vector<br>
layer (Lopes, Jose (AAFC-AAC))<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Thu, 18 Nov 2010 10:52:43 -0800 (PST)<br>
From: Matt Priour <<a href="mailto:mpriour@kestrelcomputer.com">mpriour@kestrelcomputer.com</a>><br>
Subject: [OpenLayers-Dev] Re: multiple maps with same events.<br>
To: <a href="mailto:dev@openlayers.org">dev@openlayers.org</a><br>
Message-ID: <<a href="mailto:1290106363850-5752879.post@n2.nabble.com">1290106363850-5752879.post@n2.nabble.com</a>><br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
<br>
The awesomeness that is Chris Schimdt just keeps getting better.<br>
Matt Priour<br>
<br>
ps. nachoab, you might find significantly more helpful answers on the users<br>
list: <a href="mailto:openlayers-users@lists.osgeo.org">openlayers-users@lists.osgeo.org</a><br>
<br>
Something somewhat confusing to me at first was that for software libraries,<br>
the users list is not for the actual end users of the product but for<br>
developers who are using the library to create products for end-users. The<br>
developers list is really for questions regarding developing the actual<br>
library itself. So unless you are extending or significantly modifying<br>
OpenLayers objects in a way that would be generally useful for other users<br>
of the library; or proposing new / different functionality for the library,<br>
then your question is best asked in the users list. If you aren't sure then<br>
ask on the users list first.<br>
<br>
<br>
<br>
<a href="mailto:christopher.schmidt@nokia.com">christopher.schmidt@nokia.com</a> wrote:<br>
><br>
><br>
> On Nov 18, 2010, at 7:08 AM, ext nachoab wrote:<br>
><br>
>><br>
>> Hello,<br>
>> I need to have multiple maps on screen (each one with different layers)<br>
>> and<br>
>> what I'm trying to do is to copy the events on one to the rest: If i move<br>
>> the map or zoom somewhere, i want want that to happen in all maps.<br>
>><br>
>> is that possible?<br>
><br>
> Yes.<br>
><br>
> -- Chris<br>
><br>
<br>
--<br>
View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/multiple-maps-with-same-events-tp5751380p5752879.html" target="_blank">http://osgeo-org.1803224.n2.nabble.com/multiple-maps-with-same-events-tp5751380p5752879.html</a><br>
Sent from the OpenLayers Dev mailing list archive at Nabble.com.<br>
<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Thu, 18 Nov 2010 11:05:01 -0800 (PST)<br>
From: Matt Priour <<a href="mailto:mpriour@kestrelcomputer.com">mpriour@kestrelcomputer.com</a>><br>
Subject: [OpenLayers-Dev] Re: modifying the openlayer default style<br>
To: <a href="mailto:dev@openlayers.org">dev@openlayers.org</a><br>
Message-ID: <<a href="mailto:1290107101770-5752917.post@n2.nabble.com">1290107101770-5752917.post@n2.nabble.com</a>><br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
<br>
This is a limitation which should be addressed in OL3. As you can see in the<br>
code snippet below from the PanZoom control's draw mehtod, the image paths<br>
for the nav control images are hard-coded. You can either change the<br>
element's path to the image by overwritting the draw method in the control<br>
class or you can just replace the original images in openlayers/img<br>
directory with the ones you want to use.<br>
<br>
...........<br>
93 this._addButton("panup", "north-mini.png", centered, sz);<br>
94 px.y = centered.y+sz.h;<br>
95 this._addButton("panleft", "west-mini.png", px, sz);<br>
96 this._addButton("panright", "east-mini.png", px.add(sz.w, 0),<br>
sz);<br>
97 this._addButton("pandown", "south-mini.png",<br>
98 centered.add(0, sz.h*2), sz);<br>
99 this._addButton("zoomin", "zoom-plus-mini.png",<br>
100 centered.add(0, sz.h*3+5), sz);<br>
101 this._addButton("zoomworld", "zoom-world-mini.png",<br>
102 centered.add(0, sz.h*4+5), sz);<br>
103 this._addButton("zoomout", "zoom-minus-mini.png",<br>
104 centered.add(0, sz.h*5+5), sz);<br>
105 return this.div;<br>
...........<br>
<br>
--<br>
View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/modifying-the-openlayer-default-style-tp5752046p5752917.html" target="_blank">http://osgeo-org.1803224.n2.nabble.com/modifying-the-openlayer-default-style-tp5752046p5752917.html</a><br>
Sent from the OpenLayers Dev mailing list archive at Nabble.com.<br>
<br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Thu, 18 Nov 2010 23:09:41 -0800 (PST)<br>
From: "Fabian Patzke (OL)" <<a href="mailto:listensammler@patzi.de">listensammler@patzi.de</a>><br>
Subject: [OpenLayers-Dev] Re: Measure.js Hover / Partial Measure. New<br>
Event 'measurehover' and callback?<br>
To: <a href="mailto:dev@openlayers.org">dev@openlayers.org</a><br>
Message-ID: <<a href="mailto:1290150581677-5754373.post@n2.nabble.com">1290150581677-5754373.post@n2.nabble.com</a>><br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
<br>
Hi since I needed this functionality as well I tried to patch the measure<br>
control and created a feature ticket<br>
<a href="http://trac.osgeo.org/openlayers/ticket/2935" target="_blank">http://trac.osgeo.org/openlayers/ticket/2935</a> #2935 with a attached patch.<br>
This would introduce a new property and a new event to the control, so that<br>
you are able, to measure immediately once your mouse has been moved. I think<br>
that is also what you wanted. Please have a look at it.<br>
In my implementation right now, the new event will not be fired when you are<br>
in freehand mode since there will be the "measurepartial" event.<br>
--<br>
View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/Measure-js-Hover-Partial-Measure-New-Event-measurehover-and-callback-tp5743155p5754373.html" target="_blank">http://osgeo-org.1803224.n2.nabble.com/Measure-js-Hover-Partial-Measure-New-Event-measurehover-and-callback-tp5743155p5754373.html</a><br>
Sent from the OpenLayers Dev mailing list archive at Nabble.com.<br>
<br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Fri, 19 Nov 2010 09:31:01 -0500<br>
From: "Lopes, Jose (AAFC-AAC)" <<a href="mailto:Jose.Lopes@AGR.GC.CA">Jose.Lopes@AGR.GC.CA</a>><br>
Subject: [OpenLayers-Dev] Using OpenLayers.Format.Text to load user<br>
data into vector layer<br>
To: <<a href="mailto:openlayers-dev@lists.osgeo.org">openlayers-dev@lists.osgeo.org</a>><br>
Message-ID:<br>
<<a href="mailto:8E5471DB13993145A6D9183ED4DBC2D082871B@onottaxms8.AGR.GC.CA">8E5471DB13993145A6D9183ED4DBC2D082871B@onottaxms8.AGR.GC.CA</a>><br>
Content-Type: text/plain; charset="us-ascii"<br>
<br>
Hi,<br>
<br>
<br>
<br>
We have an app that uses MapServer with Ext JS as library and add WMS<br>
vector layers to our base map.<br>
<br>
To load vector layers from user provided files we use GeoJSON format<br>
with an http response of contentType text/html and it works fine...<br>
<br>
To add GPS data I added the GPX format that reads file content from an<br>
http response of contentType text/xml and it works fine...<br>
<br>
<br>
<br>
I want to be able to read csv or txt files with POI GPS data and tried<br>
to use the Text format with an http response of contentType text/plain<br>
but the response object created by OpenLayers when parsing the http<br>
response is empty (o result has only one field: o.resultObj which is<br>
undefined ).<br>
<br>
<br>
<br>
I tried other contentTypes for the response but nothing works. I can<br>
see that the file content is parsed by Ext.js callback but not loaded by<br>
OpenLayers (for text/html response type it enters in an infinite loop<br>
with wrappedFn and cp calls in EXT JS lib).<br>
<br>
<br>
<br>
Don't know where to look anymore, any tips will be welcome.<br>
<br>
<br>
<br>
Thanks,<br>
<br>
JL<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20101119/0a096719/attachment-0001.html" target="_blank">http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20101119/0a096719/attachment-0001.html</a><br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
Dev mailing list<br>
<a href="mailto:Dev@lists.osgeo.org">Dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/openlayers-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-dev</a><br>
<br>
<br>
End of Dev Digest, Vol 50, Issue 19<br>
***********************************<br>
</blockquote></div><br>