Questions tagged as 'openlayers-3'

1
answer

Get a circle from Openlayers 3

Hello, I need to get the radius of a circle created in Openlayers 3. Does anyone know how to do it? Here has the example of the map with the possibility of creating the circles.     
asked by 29.07.2016 / 14:52
0
answers

OpenLayers 3 - Retrieve Polygon via ajax for editing

I have a page that has a map of OpenLayers ( version 3 ). On this map, I have inserted some interactions, such as: Create and change polygons. Well, so far, all right. I create the polygons, which are saved in an array variable and at the s...
asked by 11.06.2016 / 03:19
1
answer

Openlayers function in Typescript

I'm learning how to use openlayers along with Angular 6, but one of the .on's OL event functions is not recognized by TS, is there any other way to do it without being in the conventional way? this.imagery.on('postcompose', function(event: ol....
asked by 14.08.2018 / 20:10
0
answers

intersection of polygons and union of polygons

Good afternoon, I have points on a map I want to generate a voronoi diagram on the points, and I want the limit of this voronoi diagram to be a polygon (the city), and once these polygons created would like to unite some between each other, I ne...
asked by 14.03.2018 / 18:45
1
answer

Openlayers 4: mouse click to draw a point, make mouse click on the screen and drag the map

Hello, I'm studying the development of a map with the help of Openlayers 4, watching video lessons, I'm at the stage where I created a routine with 3 buttons (Pan, Draw, Erase) to draw on the map. However, when I click the Draw button, to create...
asked by 02.01.2018 / 20:36
1
answer

Layer KML using OpenLayers3

I'm starting in Openlayers and I'm having a problem visualizing polygons on maps. I have a set of polygons being returned from a query in the database (postgres / postgis). This set of polygons is passed via json by an ajax request to the fronte...
asked by 23.05.2017 / 01:33