openlayers-3 Questions

6

I am trying to create map "pin-drops" (ie. map markers) in OpenLayers-3 (OL3) using SVG images. Currently, I am using PNG images as the pindrops that reference the ol.style.Icon source (“src”) pro...
Foresight asked 19/3, 2015 at 18:33

1

Solved

I want to transform the coordinates for an entire feature in openlayers. I have had success using ol.proj.transform to transform a single coordinate to a different projection, but is there any func...
Miller asked 21/3, 2016 at 15:19

1

Solved

It seems like not long ago in OL2 there was a nice way to style layers with SLD and it seems like now it is not possible to do the similar thing in OL3. At least, I could not find any example on th...
Vallery asked 6/3, 2016 at 17:53

2

Solved

I make a copy of my question here at stackoverflow, because at gis.stackexchange all my questions do not attract any attention - many times I could not get an answer to simple questions there. So, ...
Marabelle asked 26/1, 2016 at 13:41

2

So I'm trying to create a print map function for an OpenLayers 3 application I'm building. I'm aware of their example but whenever I attempt to use it I run into the dreaded tainted canvas issue. I...
Caesium asked 6/1, 2016 at 18:2

1

Solved

I am looking for detailed steps to implement this tile provider https://leaflet-extras.github.io/leaflet-providers/preview/ or http://mapstyle.petschge.de/ I am newbie where i am not knowing how ...
Psychosomatics asked 4/1, 2016 at 16:20

1

Solved

In OL2 feature id's were generated internally. In OL3 this doesn't seem to be the case since the id's are undefined. I have tried with WKT, JSON, and KML sources and none of them have id's assigned...
Kurtiskurtosis asked 31/12, 2015 at 13:52

1

I need a functionality in my web app for undoing the last point. There has been some solutions such as this for the given problem which can handle it to some extent: var undo = false; // set this ...
Arabelle asked 28/12, 2015 at 9:17

0

I am using openlayer 3.9.0 .I have the below code , in which i have to draw a number of overlay on map. These overlay are coming but not at exact coordinate. But as soon as i click on map some whe...
Bookworm asked 15/12, 2015 at 16:34

1

Solved

I have a list of features and a vector layer and I need to know, whether each feature is within the bounds of the view of the map or not. I'm using openlayers v3.9.0 and in the corresponding docu...
Cowbind asked 10/12, 2015 at 13:9

1

Solved

I've read some posts regarding this matter with links to examples However I find it hard to follow how they've done it in the example: var gmap = new google.maps.Map(document.getElementById('gmap...
Gadid asked 4/12, 2015 at 11:50

1

What is the best way to implement a search functionality into an OL3 map? I need a search input that will show me a few options while searching and then pan and zoom to the specific search term. P...
Alb asked 2/12, 2015 at 16:49

3

Solved

I have this GeoJSON file (polygon.geojson)... { "type": "Feature", "geometry": { "type": "Polygon", "coordinates": [ [ [73, 15], [83.0, 15], [83, 5], [73, 5], [73, 15] ] ] }, "properties": { "n...
Principle asked 15/9, 2015 at 11:49

1

Solved

I want to position the center and zoom level of my map depending on the vector layer features (points). I have a geojson file which is populating my map: var vectorSource = new ol.source.Vector({...
Footboy asked 2/12, 2015 at 11:25

2

I'm using OpenLayers3 to integrate a map into a website. I added some features representing objects according to their position. I added an overlay containing data on that object when it is clicked...
Phlebosclerosis asked 20/11, 2015 at 10:15

1

Here is my scenario. The page loads and the map loads with an empty vector layer. So its there, but has no features. Then the user clicks a button and a CQL filter loads features according to the C...
Relish asked 2/11, 2015 at 19:51

2

Solved

I hope that I am in the right place with my concern. I recently made myself some thoughts on how my company software could evolve to get better and noticed on a website a map-based software, which...
Fevre asked 9/11, 2015 at 13:36

2

Solved

How do I move a vector feature from one position on a map to another? I have the following which generates an icon at (0.0, 0.0): var iconFeature = new ol.Feature({ geometry: new ol.geom.Point([...
Ohmage asked 31/10, 2014 at 18:10

2

Solved

I'm trying to create an online map using OpenLayers 3. I'm brand new to using OpenLayers, and all I'm trying to do is to get the coordinates of the points, lines, polygons that I drew on the map. ...
Tsunami asked 14/10, 2015 at 15:17

2

Solved

I'd like to be able to tell what ol.layer.Group(s) a layer is part of during a user interaction, without going through all the groups on the map top-down. Is there a way to do this? I'm currently...
Immix asked 21/10, 2015 at 18:4

2

I'm looking to update my application from OpenLayers 2 to OpenLayers 3. Is anyone aware of a Migration Guide (or something similar) that would help with this?
Warfarin asked 9/9, 2014 at 18:3

4

Solved

I have a map with openlayers 3 and a vector layer. I want to map to be resized to this vector layer, but so far all I was able to get was to center the map on the last point of this vector, since t...
Mim asked 6/1, 2014 at 9:48

1

Solved

How can I inject a http header into every map layer request? In this case, I need to send an Authentication header for a given layer and source, but I may want to send other headers too. A search...
Clercq asked 2/10, 2015 at 19:7

2

Solved

I have node.js server 0.10.12 and express.js 4.8.5. Node.js is the web server, includes openlayers 3.9.0. Geoserver 2.1.3 serves the WMS layer. Later, I will implement vector layers. There is onl...
Kareem asked 28/9, 2015 at 13:6

1

Solved

My intention is to load GeoJSON data and display it on the map. Coordinates of the features specified in GeoJSON are normal lon/lat. For some reason openlayers is rendering them using the projectio...
Wedge asked 8/9, 2015 at 10:12

© 2022 - 2024 — McMap. All rights reserved.