openlayers-3 Questions
2
Solved
I am currently upgrading my OpenLayers 2 Mapview to OpenLayers 3. I really like the new OpenLayers client, but i wanted to deactivate the ability to rotate the map on mobile devices (rotating with ...
Neomineomycin asked 4/9, 2014 at 15:18
1
I would like to compare the performance between OpenLayers and Leaflet.
I want to test things like which is the fastest to render vector files, basemaps, show a massive amount of markers etc.
I ca...
Trituration asked 17/8, 2016 at 13:15
2
I have created a map using OpenLayers3. I can succesfully zoom to a layer on the map using the following code:
map.getView().fit(extent, map.getSize());
However I woulld like something similiar...
Kampmann asked 23/5, 2016 at 9:37
1
Solved
Is is possible to get the mouse right click event on Openlayer3? If so how can i get the latitude and longitude of the right clicked location.
i have got the right click event by following
map.ge...
Durazzo asked 5/1, 2017 at 5:0
2
Solved
When I draw a polygon in an OpenLayers map, I want to know if the marker is inside the polygon or not. I searched in the OpenLayers API, but didn't find a solution.
And you can see my full code ...
Businesslike asked 3/1, 2017 at 15:2
2
Solved
I have the following code, written for OpenLayers pre 3.20:
fitViewToFeature: function (viewer, feature) {
var pan = ol.animation.pan({
source: viewer.olView.getCenter(),
duration: 1000
})
v...
Hebdomadary asked 16/12, 2016 at 18:13
2
Solved
I have a vector layer with the style currently defined as:
var styles = new ol.style.Style({
image: new ol.style.Circle({
radius: 4,
fill: new ol.style.Fill({color: 'red'}),
stroke: new ol.styl...
Corr asked 24/6, 2015 at 10:56
1
Solved
There is a javascript library, pre-built and available on npm, that I wish to develop with/debug. In my case, it is openlayers.
In the classic way of requiring a javascript file and wanting to deb...
Cussed asked 1/11, 2016 at 19:53
1
I've been working with openlayers 3 and created a fill with canvasPattern. The fill works, the problem is that it doesn't work as expected.
I'd expect the fill to move with the geometry that it is...
Breen asked 29/9, 2016 at 19:59
2
Solved
I have several layers on an OL map which contain outlines, background colours and labels for the same sized features, so you can show or hide one or more of the layers. Two of these layers are just...
Compromise asked 14/9, 2016 at 20:23
1
Solved
I'd like to update a list after each feature has been drawn to a map.
When I use drawend to catch the finishing of a drawing, the feature being drawn is not yet added to the vector source at that ...
Rech asked 29/8, 2016 at 22:28
2
Solved
I'm building an application for mapping features onto an image layer depicting a floor plan (using OL's ImageStatic layer). Each feature has an svg icon as style and may have additional svg icons a...
Cooperstein asked 24/8, 2016 at 14:22
1
Solved
I am trying to create an interactive map with OpenLayers 3, where the client can draw polygons on the map, and then retrieve the coordinates of the polygons which were drawn. I've found a nice litt...
Rb asked 29/8, 2016 at 13:17
2
Solved
i have a question. i need to know the actual zoom of the open layers map
$scope.refreshMap = function (lat, long) {
map.setView(new ol.View({
projection: 'EPSG:4326',
center: [long, lat],
zoo...
Knutson asked 18/8, 2016 at 12:5
2
Solved
I am working on a project using OL3 in which I need to be able to manually (by button press) or automatically (time based) reload vector layers IF they have been updated since the last load using H...
Cellarer asked 7/7, 2016 at 16:8
1
Solved
I am trying to find out all the features which are visible (viewport) on a layer in Openlayers 3.
I am able to find out a single feature if I add a click event to the map which is as follows. But ...
Kemerovo asked 5/8, 2016 at 9:31
1
For clustered features I would like to make the following style in OL3:
A square, and on top of it another smaller square at the right-top corner. The bigger square would hold the symbol, and the ...
Av asked 9/12, 2015 at 13:44
1
Solved
I am building an App that uses Geolocation using Open Layers loading a Bing Map Layer. I would like to control the zooming just by touch alone and would therefore like to remove the default zoom bu...
Cayuse asked 2/8, 2016 at 9:55
1
Solved
I know this question was discussed at many other topics. But I still not able to find a solution for my issue. None of receipts are works for me.
An issue is very simple. I have a features at my O...
Ciri asked 18/7, 2016 at 13:57
2
Solved
I have a vague memory of seeing examples of Open Layers 3 where the added layers' opacity could be changed. There are still such examples on the ol3 examples page but they require the webgl-rendere...
Mealtime asked 22/8, 2015 at 10:19
4
Solved
Does the concept of OpenLayers.Bounds from OpenLayers 2.x still exist in OpenLayers 3? How has it changed, and what is its new name?
Maxine asked 5/3, 2014 at 18:48
1
So far I have tried with this code
feature.getGeometry().getCoordinates()
but it doesn't work. The error I get is "Property getCoordinates does not exist on type Geometry". May it have something...
Plumbic asked 27/5, 2016 at 16:18
2
In Openlayers 3 how to remove a event listener attached like this:
var a = map.on("pointerdrag",function (e) {
// event handler
});
var b = map.on("pointerdrag",function (e) {
// event handler...
Accepter asked 27/8, 2015 at 15:16
2
Solved
By default the openlayers 3 zoom controls are on the top left. How can I move it to the top right? The API appears to return a broken link when going into options.
Mirellamirelle asked 27/12, 2013 at 22:23
1
Sometimes the map is blurry when I add my map (same html, css, js) to a different page. The different page may have other html, css and js inside of it. The clear picture on the left is inside a pa...
Bolton asked 5/3, 2015 at 14:24
© 2022 - 2024 — McMap. All rights reserved.