You can write like this
var request = OpenLayers.Request.GET(
{url:
"http://disc1.sci.gsfc.nasa.gov/daac-bin/wms_airsnrt?service=wms&version=1.1.1&request=getcapabilities";,
success: function(response){
var format =
Hi,
Using Firebug, try putting a breakpoint on your first line of you
"added" function. You'll see that the "feature" argument is not a
feature, but rather an event containing your feature. Try :
added = function (event) {
var feature = event.feature;
var center=feature.geometry.getCe
Hello,
i try to get the center of a just drawn regular Polygon with the follwing
code:
added =function (feature)
{
var center=feature.geometry.getCentroid();
alert(center.x);
};
controls = {
regular: new
yes, any ol feature have an id property, even autogenerated by ol itself.
On 05/01/2011, Alexander Petkov wrote:
> Put a breakpoint in Firebug and inspect feature's properties.
>
> I see that a dynamically drawn feature in one of the examples has an
> 'id' property.
>
> Alex
>
> On Tue, Jan 4,
On Jan 5, 2011, at 1:03 PM, ext Andreas Hocevar wrote:
> On Jan 5, 2011, at 19:02 , wrote:
>
>> I think OL.Layer.MM has been dead for a while; I wouldn't work too hard on
>> trying to do much with it.
>
> I have changed the multimap and multimap-mercator examples to use a new api
> key a whil
On Jan 5, 2011, at 19:02 , wrote:
> I think OL.Layer.MM has been dead for a while; I wouldn't work too hard on
> trying to do much with it.
I have changed the multimap and multimap-mercator examples to use a new api key
a while ago and they still work fine.
Andreas.
>
> -- Chris
>
> On Jan
I think OL.Layer.MM has been dead for a while; I wouldn't work too hard on
trying to do much with it.
-- Chris
On Jan 5, 2011, at 12:41 PM, ext Andreas Hocevar wrote:
> Hi,
>
> you may want to ask Microsoft for an API and Terms Of Use compliant way to do
> this. In the meantime, you can overri
On Wed, Jan 5, 2011 at 12:55 PM, Mukesh Subedee wrote:
> Thanks Steve for your response. Unfortunately, it does not work with the
> change. wrapDateLine was working before with pink tiles being wrapped but
> with the change it does not work either. I still could not figure out the
> problem.
>
>
Thanks Steve for your response. Unfortunately, it does not work with the
change. wrapDateLine was working before with pink tiles being wrapped but with
the change it does not work either. I still could not figure out the problem.
Thanks,
Mukesh
--- On Wed, 5/1/11, steve.tout...@inspq.qc.ca wro
Hi,
you may want to ask Microsoft for an API and Terms Of Use compliant way to do
this. In the meantime, you can override the getURL method of your
OpenLayers.Layer.Bing instance to append a productSet parameter, but this
clearly violates the Bing Maps Terms Of Use.
getURL: function() {
re
Put a breakpoint in Firebug and inspect feature's properties.
I see that a dynamically drawn feature in one of the examples has an
'id' property.
Alex
On Tue, Jan 4, 2011 at 4:02 PM, yvecai wrote:
> I'm not sure to get it. I don't see no uid nor oid properties on selected
> features.
>
Hi All,
I have been playing with the new Bing tiles layer in the OpenLayers trunk, and
can get it to work for standard layers, but I was wondering if it will ever be
possible to access the Ordnance Survey tiles that are available in Bing in the
UK through this method? I have tried supplying the
Hi
I wish to display a kml layer and allow the use to select the features
by hovering over them : -
http://gis.camden.gov.uk/geoserver/kmltest46.html
When I add the kml layer to a map displaying WMS layers in EPSG:27700,
the kml layer is not visible on the map: -
http://gis.camden.g
13 matches
Mail list logo