Skip to main content
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
Results tagged with
Search options questions only not deleted user 60146

Use when the version you are using of the OpenLayers JavaScript client toolkit is 3 or later

0 votes
2 answers
621 views

ArcGIS REST layer doesn't show up in OpenLayers

I try to show a WMS layer with OpenLayers 4.6.5 but the tiles don't show up. …
geraldo's user avatar
  • 1,000
2 votes
1 answer
2k views

Use a second canvas for drawing an animation in Openlayers

I want to implement an animation of flowing rivers on top of an Openlayers map. …
geraldo's user avatar
  • 1,000
1 vote
1 answer
550 views

Distinguish features inside a cluster with OpenLayers

Based on the OpenLayers Dynamic clusters example to tried to implement tooltips on feature mouseover. …
geraldo's user avatar
  • 1,000
1 vote
1 answer
2k views

How to create a polygon with a circular hole in openlayers 3?

To highlight an area on my map I need to make a circular hole in a polygon. The rectangle polygon covers the whole map, the circle hole should act as a spot on my area to highlight. But actually I on …
geraldo's user avatar
  • 1,000
2 votes
0 answers
392 views

QGIS server ignores GetFeatureInfo request tolerance

FI_LINE_TOLERANCE': 0, 'FI_POINT_TOLERANCE': 0, 'FI_POLYGON_TOLERANCE': 0 } ); The problem is that adding the tolerance parameters to the request doesn't make any change, the URL given back by Openlayers
geraldo's user avatar
  • 1,000
1 vote
0 answers
132 views

Getting GML features with OpenLayers from Spanish Cadaster fails

I'm trying to paint parcels retrieved from Spanish land register by their API (as described here, PDF Spanish only!). It's an WFS service (complying INSPIRE) and offers the information as GML versión …
geraldo's user avatar
  • 1,000
4 votes
1 answer
3k views

How to find features in Openlayers VectorTiles

I use MVT vector tiles with Openlayers and everything works fine - but now I have a conceptual problem. I need to make features selectable and searchable. …
geraldo's user avatar
  • 1,000
6 votes
2 answers
3k views

Hide old tiles while loading new ones when zooming in Openlayers

Standard behavior, while zooming in and out in Openlayers, is that the current tile gets resampled and displayed stretched or compressed until the new tile is available. … Note: In Openlayers 2 there was a transitionEffect parameter in OpenLayers.Layer.WMS as shown in this example. …
geraldo's user avatar
  • 1,000
1 vote
0 answers
394 views

Serving ESRI layer as WMS through QGIS server

I try to offer it as WMS service using QGIS server to later visualize it with OpenLayers. …
geraldo's user avatar
  • 1,000
1 vote
0 answers
767 views

WMS tile caching for QGIS Server

I only miss the possibility to cache tiles, mostly used by Openlayers. Is there any alternative to GeoWebCache for QGIS Server? …
geraldo's user avatar
  • 1,000
1 vote
0 answers
100 views

Why doesn't requested tile get cached in browser?

I'm trying to optimize the load time of a mapping project using QGIS server and Openlayers 4 and have a question about browser cache. …
geraldo's user avatar
  • 1,000
0 votes
1 answer
354 views

Problem with Fetch API using URL built by GetFeatureInfo in Openlayers

I request the feature info URL from Spanish land register WMS service successfully using: const url = wmsSource.getFeatureInfoUrl( evt.coordinate, view.getResolution(), view.getProjection( …
geraldo's user avatar
  • 1,000
2 votes
1 answer
655 views

Differences in QGIS server with WMS and WFS projections?

Showing a WMS layer using Openlayers works fine. Tiles are called like that: http://localhost/cgi-bin/project/qgis_mapserv.fcgi? … &WIDTH=256&HEIGHT=256&CRS=EPSG:3857&STYLES=&BBOX=-469629.10178412125,4696291.017841229,-313086.06785608025,4852834.051769271 When I try to get the same layer as WFS data (based on this example from Openlayers
geraldo's user avatar
  • 1,000
2 votes
1 answer
914 views

getGetFeatureInfoUrl Hit-detection tolerance

I'm using getGetFeatureInfoUrl to retrieve features from a WMS layer like that: var url = wmsSource.getGetFeatureInfoUrl( evt.coordinate, viewResolution, 'EPSG:3857', {'INFO_FORMAT': 'text/xml'} …
geraldo's user avatar
  • 1,000
2 votes
1 answer
486 views

Extent for Robinson projection?

I'm trying to use a QGIS WMS layer and show it on a Robinson projection but can't get it working. The ol-debug shows a "transform should be defined" error, I think it's because of a wrong projection …
geraldo's user avatar
  • 1,000

15 30 50 per page