Skip to main content

Questions tagged [openlayers-3]

OpenLayers 3 is the complete rewrite of the OpenLayers 2.x mapping library, targeting modern features of HTML5 and CSS3. It is not compatible with OpenLayers 2. OpenLayers is completely free and open source, having been released under the 2-clause BSD License.

openlayers-3
0 votes
1 answer
42 views

projection and EPSG mismatch when buffering a geometry

as shown in the code posted below, i am using turf.js to buffer a geometry in the listener callback of modifyend of Modify event. i tried to set the buffered feature asOLFeature on the map via: this.#...
Amr's user avatar
  • 33
0 votes
0 answers
21 views

How can i add measure tool in openlayers3?

I have developed an one application using openlayers3. Now, i want to add measurement tool in that. Does anybody know the solution? i have tried some examples. but they are in openlayers6. Since the ...
Developer's user avatar
0 votes
1 answer
39 views

How to unregister .on(drawend,....) event

as shown in the below posted code, i have an event #drawEvt and it is registered for drawend. the problem i have is about unregistering the event. as shown below in the code in method deattachAll() is ...
user avatar
0 votes
0 answers
30 views

How can specify the order of displaying shapes when work with open layer map

I created a map in which consist of different shapes such as 2 circle and one line. The line connects 2 circle Centre. Even if i have added line first and then the circles, the line always come over ...
Saimol Simon's user avatar
0 votes
0 answers
55 views

Microscope slide images load as multiple small tile images using open layer

I have larger sizes (more than 10GB) of microscope slides (ndpi, svs, tiff) images. To display that existing project member using the open layer 3 versions. While loading some images are converted ...
R.G.Krish's user avatar
  • 495
0 votes
0 answers
37 views

DrawHole custom geometry function not working

DrawHole has an undocumented option to use a custom geometry function which is not working : var geomFn = options.geometryFunction if (geomFn) { options.geometryFunction = function (c, g) { ...
Zeeshan's user avatar
0 votes
0 answers
62 views

Dynamically changing ImageStatic in OpenLayers

I have a map with one ImageLayer, with its source an ImageStatic. My page first loads the map with one image. Once a user presses a button, I want the ImageStatic to change to another predefined image ...
Saddy's user avatar
  • 1,573
2 votes
2 answers
304 views

how to deactivate zoom on double-click using setActive(false)

i would like to modify the below code in a such way that it only deactivate the zoom on double-click event please. i tried the below posted code, but it disabled all the interactions including the ...
Amrmsmb's user avatar
0 votes
0 answers
94 views

OpenLayers Workshop missing ol.js library

At the first step in workshop we try to create a basic map. Here is the code for a map.html <!doctype html> <html lang="en"> <head> <link rel="stylesheet"...
Mohamadou Laminou's user avatar
0 votes
1 answer
261 views

Problem when displaying lines and points (json) on OpenLayers Vue 3 js

I'm trying to display on an OpenLayers Map some points and lines using Vue js 3 but there is and "invalid type" issue that I could'nt solve. Here is the warning message on console log : ...
Hug's user avatar
  • 3
0 votes
1 answer
1k views

How to View 3D building view angle in open layers

How we can see 3D building view angle in open layers like google earth 3D map. Click here for image Please see my image what i want in open layers map. I want to create 3D building view in open ...
user avatar
0 votes
1 answer
226 views

Is there an implementation of GeoTIFF in OpenLayer 3?

As the title says, I need to add some (COG) GeoTIFF layer to a website using openlayers 3. Since we're not ready to upgrade to a current version of openlayers, I've been wondering whether there was a ...
Pierpaolo's user avatar
  • 559
0 votes
2 answers
74 views

Why we pass 50 limitations in these file in open layers / GeoServer?

Please let us know what is use of below code and why we are passing the PARTIAL_BUFFER_STRATEGY_SIZE as 50 by default ? <context-param> <!-- see comments on the PARTIAL-BUFFER strategy --&...
Beginner's user avatar
0 votes
1 answer
704 views

Create 3D map in angular application using open layers and ol-cesium

I want to creating this project in angular but getting error when we import olcesium in .ts file after install npm ol-cesium. <html> <head> <link rel="stylesheet" href="...
Beginner's user avatar
1 vote
1 answer
2k views

Adding marker on Openlayers Map using React

I want to add the marker on the Openlayer map using React on the center point but I am not able to do so, I tried different solutions but still no luck. Here is my React code: import React, { useState,...
malik.ahmed118's user avatar

15 30 50 per page
1
2 3 4 5
161