openlayers Questions

3

Solved

I have an OpenLayers map with a TMS layer. For each zoom change, my map makes about 56 requests for map tiles (depending on the map/screen size). If the user rapidly zooms in or out, all these map ...
Paulapauldron asked 19/12, 2011 at 21:29

4

Solved

I use OpenLayers and want to create another navigation-control in the upper-left side. I know how to add Controls, but this navigation is added at default while creating the OpenLayers-Map. So I wa...
Smutchy asked 9/8, 2010 at 15:34

4

I have a MapComponent which loads an OpenLayers Map. This component is re-used in various of my Angular app's pages. The map loads fine the first time. However, when I navigate to another component...
Ciri asked 25/1, 2021 at 21:6

1

With OpenLayers 6.15.1, I can use the following code in my map options: controls: ol.control.defaults({ zoom: true, attribution: true, rotate: false }), With OpenLayers 7.1, this does not work ...
Grooms asked 13/9, 2022 at 6:56

3

Solved

I am attempting what I imagine to be a fairly common use-case with a leaflet multipolygon object. I create the MultiPolygon using geojson: var layer = L.GeoJSON(g, style_opts); What I'd like is to...
Squad asked 9/11, 2012 at 22:26

4

Solved

I have two points having lolLat as 0,10 and 30,0 Now to draw a marker at this point i use this transform while generating marker for it lonLat.transform( new OpenLayers.Projection("EPSG:4326"), ...
Spurn asked 19/3, 2012 at 5:0

1

Solved

I've been trying to create a smooth map-like experience for exploring a big chart I've made using D3.js Every node on the chart is linked to a particular webpage and I plan to add info-bubbles to ...
Archuleta asked 8/5, 2022 at 19:18

2

I'm pretty new to leaflet.js and I'm trying to figure out how to assign the same map with the same set of options and layers to a different HTML container instead of having to remove and add a new ...
Celibacy asked 13/8, 2014 at 18:32

2

I want to show OpenStreetMap in my web site using OpenLayers library. I want to add a marker but the marker does not show up on the map. I had searched on Google, I had found one code as below my c...
Joscelin asked 22/4, 2019 at 4:33

3

Solved

Very simple question, how can I create a draggable marker in an OpenLayers map, and get the latlon when its been dragged. From google, it seems that you can have draggable vectors, but not draggabl...
Almaalmaata asked 7/12, 2010 at 12:3

1

I am developing a geographic web app and want to add a scale line into it. The default openlayers scale line does not fit my design nor does it look professional. So I would like to add a classic s...
Flabellate asked 28/8, 2019 at 6:31

4

Solved

I'm working with OpenLayers and I need to convert DWG files to GeoJSON format. How can I do this?
Drumlin asked 29/8, 2016 at 20:8

3

Solved

I tried to svg icon as marker in Openlayers-3. Here in my code. var svg = '<?xml version="1.0"?>' + '<svg viewBox="0 0 120 120" version="1.1" xmlns="http://www.w3.org/2000/svg">' + '...
Proudlove asked 15/6, 2016 at 8:25

0

I found [1] this issue on newest WebView of Chrome. To produce it you need three things: You have updated WebView to version from 15.11.2021 HardwareAcceleration in AndroidManifest is set true Whe...
Must asked 29/11, 2021 at 18:37

3

Solved

I'm trying to find some hints where I should search for this topic but I've nothing found - and I spent many hours on this. I'm also trying to get the current coordinates out of the current displa...
Kex asked 24/1, 2012 at 14:25

7

I'm running into some extremely strange behaviors, and non-consistant across every browser i've tested. I've a pretty complex layout, but the main issue lies here: <div id="drop"> ...
Layfield asked 1/3, 2013 at 7:29

2

Solved

I want to download the map offline for a selected part of the map with single Zoom level with Openlayer OSM layer. I have got the four corner of map i.e display section of a map. But need to get t...

3

Solved

How can one calculate the distance in OpenLayers between 2 points using Mercator projection? Thanks
Ahimsa asked 11/4, 2012 at 15:59

2

Google recently reworked there maps mobile behaviour. Now on mobile you have can move the map with two fingers. (see map-simple example on a phone, not with any browser emulator!). I want to imple...
Skyjack asked 13/3, 2017 at 16:54

3

Solved

I'm using OpenLayers to display a map on a standard HTML page, and I want to create a div that sits on top of the map. However, the div always seems to be obscured by the map tiles. I believe the...
Carhart asked 10/8, 2011 at 12:59

2

Solved

I have a code that displays the mouse position outside of the map in openlayers ! what if I want to save those coordinates when I call the js mouse events onmousedown and onmouseup ? I have the fo...
Longevous asked 1/7, 2018 at 20:55

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

4

In this case I use Map control from OpenLayers 2.10. On map I have base layer which is OpenLayers.Layer.OSM and OpenLayers.Layer.Vector with custom features. Now when I move map using mouse the fea...
Gymnasiast asked 14/2, 2011 at 12:10

1

I would like to be able to draw some features on the map generated by the QGIS2web plugin. I found some Openlayers drawing plugin here: https://cdn.rawgit.com/HamHamFonFon/ol3-drawFeatures/82f29a3f...
Philippa asked 28/10, 2020 at 14:59

1

Solved

I would like to save my openlayers map as PDF. Unfortunately all the options I tried don't work. The first option, I guess the easiest one was here: https://jsfiddle.net/Ljnya5gp/1/ from which I de...
Tannenbaum asked 13/11, 2020 at 15:10

© 2022 - 2025 — McMap. All rights reserved.