Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Use when the version you are using of the OpenLayers JavaScript client toolkit is 3 or later
10
votes
1
answer
11k
views
Turf.js Check if polygon "Contains" another polygon
I am using turf.js for geometrical operation on openlayers3 features but i think it lacks support for "contains" operation.
There are these within and inside operations, but they return "false" when …
3
votes
1
answer
577
views
Logging in Openalyers3
But with the new openlayers i.e. openlayers3 when i console log the map object i get something totally different in log. … So is there any way to log the openlayers objects so as to get the log clear as it used to in the version 2+. Any pointers related to this are most welcome. …
7
votes
2
answers
8k
views
Setting height and width to TileWMS layer in OpenLayers 3
I'm trying to set up a TileWMS layer in OpenLayers 3 as:
var baseMap = new ol.layer.Tile({
title: "MayBase Map",
source: new ol.source.TileWMS({
url: mapUrl,
params: { …
2
votes
1
answer
7k
views
Using WKT.writeGeometry for 'Circle' Geometry in OpenLayers?
In my application which I'm building using OpenLayers3, I'm trying to extract the geometry of a feature to WKT using
var format = new ol.format.WKT();
console.log(format.writeGeometry(geometry)); by …
3
votes
1
answer
2k
views
Removing vertex from Polygon geometry in OpenLayers 5
I could able to remove the recent modified vertex of a feature using removePoint method of modify interaction, as well as using deleteCondition event of modify interaction. However, that is not what I …