openlayers-3 Questions
4
I am using GeoServer and seed tiles on my server. The tiles are created successfully but i dont know which pattern the directory structure is following... (i.e. .../EPSG_4326_05/0_0/00_06.png)
I wa...
Paulin asked 31/5, 2017 at 14:13
4
Solved
I'm trying to set the fill opacity of a vector feature in OL3 and can't figure out how to do it if I have a hexadecimal value...I've seen examples with rgba. Any suggestions?
Here's what I have:
...
Crusty asked 17/1, 2015 at 20:46
2
Solved
I want to zoom on the extent of all the features contained in a list.
Firstly, I put my feature in a list:
selectedFeatures = [];
vector2.getSource().forEachFeature(function(feature) {
var att ...
Jute asked 3/5, 2015 at 20:5
1
I used ol.interaction.snap but i want to get feature which point was snaped?
snapInteraction = new ol.interaction.Snap({
source: Source.stationSource
});
because of no event i can not get whi...
Horseleech asked 25/8, 2015 at 1:8
2
Solved
I am trying to get the features from my vector layer. The vector layer is composed from a GeoJSON document loaded via Geoserver. I tried vector.features but in vain. Could anyone help with this?
Gratiana asked 30/3, 2015 at 16:58
3
I have a ol.StyleFunction set on a layer.
function style(feature: ol.Feature, resolution: number): ol.style.Style {
return ol.style.Style({
// stuff from the feature properties
});
}
Not all ...
Graupel asked 21/11, 2017 at 18:30
3
Solved
How to disable DragPan interaction in Openlayers 3 (when map is already defined)?
Also, why I'm unable to use mousemove event?
I'm doing this: map.on('mousemove',function(e){ ...}); and it doesn't...
Chisholm asked 17/3, 2015 at 10:50
11
I have JavaScript application in OpenLayers 3, and my base layer is created from local tiles. I work only in my computer so I do not know why I have CORS error.
var newLayer = new ol.layer.Tile({...
Riehl asked 31/1, 2017 at 18:37
3
Solved
Now I'm moving my project from openlayers 2 to openlayers 3. Unfortunately I can't find how to show title (tooltip) for feature. In OL2 there was a style named graphicTitle.
Could you give me advic...
Truax asked 7/3, 2016 at 16:18
2
Solved
How to get Circle radius in meters
Maybe this is the existing question, but I am not getting the proper result. I am trying to create a Polygon in postgis with the same radius & center getting ...
Gabo asked 25/8, 2015 at 11:35
3
Solved
I'm trying to get the current center of an Openlayers map in lat/lon coordinates. I've got the following event handler setup:
this.map.on('pointermove', function (e) {
if (e.dragging) {
console....
Waziristan asked 10/7, 2015 at 19:9
5
Solved
Is there a way to use icons from Semantic UI or FontAwseome as markers icons in OpenLayers3 ?
OpenLayers features the feature style Text that can be used as follows:
var blackFill = new ol.style....
Melanism asked 7/1, 2015 at 0:12
4
Solved
I'm trying to add makers on a OpenLayers 3 map.
The only example I have found is this one in the OpenLayers example list.
But the example uses ol.Style.Icon instead of something like OpenLayers.M...
Balata asked 19/6, 2014 at 20:35
2
Solved
I am trying to add the new ESRI Vector Basemaps in OpenLayers 3. I have gotten so far as to display the layer un-styled by modifying the Mapbox Example published by OpenLayers.
Clearly I had to r...
Palaearctic asked 28/4, 2017 at 3:13
3
Solved
We have some layers that make use of a ol.source.XYZ source. For the loading strategy we use ol.loadingstrategy.tile(new ol.tilegrid.createXYZ({})). We need to ensure that all tiles have been compl...
Wellesley asked 11/10, 2015 at 3:25
2
Solved
I have the current set up here: fully functional fiddle example and whilst I have managed to zoom to each polygon feature I would also like to display a centralised text label on each... the field_...
Tycoon asked 17/8, 2016 at 21:31
2
I want to draw a square around a marker. if I draw a large square the map should zoom out automatically so that we can see the square completely. If I draw a small square the map should zoom in aut...
Kishakishinev asked 1/12, 2016 at 7:43
2
I want to add a dashed stroke with two alternating colors to a feature in OpenLayers. Basically, I want to create a two color outline around polygon so that it shows up no matter what color the bac...
Perspiration asked 17/8, 2017 at 16:29
2
I have seen this info: https://stackshare.io/stackups/leaflet-vs-mapbox-vs-openlayers
I'm developing at the same time a web application with react using OpenLayers. And I have to make the same app...
Poltergeist asked 30/3, 2018 at 14:9
3
Solved
I would like to have a right-click context menu with the information of the point clicked.
I.e. I right click on map, get a dropdown menu, here if I would pick 'add marker' or similar, I need to ...
Opium asked 26/8, 2015 at 3:58
2
Solved
I'm having hard time figuring out how to filter layers using forEachFeatureAtPixel method. I was going trough documentation but without any success so far. I basically want to filter layers and app...
Fellini asked 5/4, 2018 at 11:16
2
I am writing a page where you can view both details about an area and a map. The details are on one tab and the map on another. The relevant portion of the HTML is below and the classes are from Bo...
Flanna asked 25/9, 2014 at 9:14
6
Solved
I have a custom styling that shows/hides features on the map, but when it is applied it doesn't activate until the map refreshes due to a feature update, but I need it to trigger immediately.
I tr...
Limes asked 23/6, 2015 at 8:28
3
Solved
I can't find a way to go from a feature in a selection event to a layer that it may be a part of without traversing all the features of all my map layers, or storing an artificial layer ID within e...
Suburbicarian asked 8/7, 2015 at 15:52
2
Solved
It seems like raster tiles have started to go out of fashion, but still, I need a solution to do it somehow for my QGIS Server's WMS.
Up to this point I have tried TileCache, but I couldn't make i...
Progressist asked 28/7, 2015 at 9:40
1 Next >
© 2022 - 2024 — McMap. All rights reserved.