Questions tagged [openlayers]
OpenLayers is an open source Javascript web mapping library for creating web map applications.
openlayers
5,165
questions
0
votes
1
answer
29
views
Read extensions from GPX features (openlayers)
I am trying to insert GPX data on a Vector Layer and want to later read the attributes inside the tag.
This is a small extract from my GPX file:
<gpx xmlns="http://www.topografix.com/GPX/1/1&...
0
votes
0
answers
21
views
Get rgb value data from TileLayer onHover (openlayers)
Goal: visualize large .asc data (2d array data) on the client. More specifically, the user should be able to apply different color-maps and also hover on the point to see its value (at least a good ...
-2
votes
0
answers
32
views
Using Google Maps Tiles API with OpenLayers [closed]
I have found online documentation on openlayers.org stating that Google Maps Tiles API can be used with OpenLayers. This is the link: Google Maps
I'm currently using Google Maps API with Openlayers by ...
-1
votes
0
answers
37
views
Render large .asc files, with variable colormap
Suppose I have a large .asc file (matrix representing elevation, water depth, ....), in my backend and want to visualize it on the client (with openlayers). The requirements are:
Smooth rendering
...
0
votes
1
answer
35
views
Map loadstart event not firing with vector layers (openlayers)
I have a project in OpenLayers 8.2, where there are many types of layers in a map. As introduced in ol 6.14, I am using the 'loadstart' and 'loadend' events of the map object (https://openlayers.org/...
0
votes
2
answers
48
views
Fontawesome svg-icons in openlayers
I know similar questions have been asked before but their answers don't help me.
I'm trying to use Fontawesome-Icons as markers in an Openlayers map like this:
const svg = `
<svg ...
0
votes
1
answer
48
views
Inverse MouseWheelZoom
There is a project that uses openlayers and react.
I came across the need to invert the direction of the mouse wheel when zooming. More precisely, even be able to switch from standard mode to inverted ...
0
votes
0
answers
42
views
How to provide a circle radius that represents real-world distance on an OpenLayers map?
I want to plot a circular Polygon feature that covers 200 hectares on an OpenLayers map. The projection of the map and data is set to EPSG:3857.
I believe the solution lies in this code (source), but ...
-1
votes
0
answers
21
views
impossible to add a layer switcher with openlayers
Good morning,
I want to add a layer selector to my map with openlayers. the selector logo appears correctly but nothing happens when I click on it. I'm looking but I can't find it, thank you for your ...
0
votes
0
answers
43
views
adjustments in react leaflet currently done on openlayers
I have an application that uses the openlayers library in react to display a map.
I use an internal raster tile server that has a strange a strange configuration.
all tiles are offset and squished ...
0
votes
0
answers
34
views
Why add a control via OpenLayer's getControls().extend?
I can change the z-index of a div so it appears above the map's viewport div.
Why add map controls via getControls().extend? What does that provide that I may not be accounting for?
Example:
const ...
0
votes
0
answers
46
views
How can I manipulate the overflow property of an OpenLayers view?
The example below will generate the follow image:
The control I have added to the map is clipped. If I increase the height of the map, it will look like:
What I would like to achieve is the ...
0
votes
1
answer
36
views
OpenLayers: optimize rendering on no-GPU platforms by skipping projection and allowing for a custom feature format?
I have an array of trajectories. Each trajectory represents a moving vehicle, and is an object consisting of a unique ID and a set of coordinates which are equally-spaced samples of the vehicle's ...
0
votes
0
answers
28
views
Calculate the XYZ tile grid given an extent and resolution for a MapGuide server using OpenLayers
I'm trying to add a tiled map from MapGuide to my OL map. However, with my current code, the X and Y values in the request call are incorrect. I have tried specifying the tile grid with resolutions ...
0
votes
0
answers
39
views
Openlayers uses canvas function to return canvas images, How to render in real-time before releasing the mouse button
openlayers uses canvas function to return canvas images, hoping to achieve real-time rendering while dragging the mouse
Only render after releasing the mouse button
How to render in real-time before ...