Questions tagged as 'openlayers'

1
answer

Problem with openlayers and coordinates

I have a problem with the openlayers library and it reads the coordinates backwards from my geojson . My geojson has for example: [-5.67063958389914,43.52764170586536] And openlayers read them like this: [43.52764170...
asked by 21.03.2018 / 11:36
1
answer

Problem with openlayers and the properties of their instances

Can I create a property that is named "name" and add it to the instance I created from this layer? var osm = new ol.layer.Tile({ name: "pepe", source: new ol.source.OSM() }) What I want to do is differentiate this layer from anothe...
asked by 17.04.2018 / 10:04
0
answers

How to load data obtained from an Ajax in the "description" attribute in Openlayers 2?

is the first time that the OSM API with OpenLayers and I have the problem that when I want to load the values returned with an Ajax, it does not load them. this happens in the "description" attribute of the new OpenLayers.Feature.Vector func...
asked by 27.06.2017 / 18:31
0
answers

Include a Getfeatureinfo popup in openlayers 3

I want to include a popup that displays the information of the wms layers but I can not get it to work. It seems that all the examples I find work with geojson or maps with tiles, and this is not my case. I do not know how to customize the code...
asked by 24.06.2016 / 16:56
1
answer

Load KML with OpenLayers

I want to upload my KML files in a web viewer with OpenLayers3. I have seen the example similar to what I want in your library of examples link However when I copy the code and paste it (VS12) it shows only the base map, but the kml of e...
asked by 10.05.2016 / 20:01
1
answer

Change points by markers in OpenLayer map (javascript)

I have a problem with the following code, since I can not change the points that appear by icons and insert the click event so that I get a message. If someone can help me even to change the points for icons I would appreciate it because it is h...
asked by 11.04.2018 / 01:38
1
answer

How to load a google earth map in Q-GIS?

My goal is to integrate the map of google maps in QGIS, install the open layers plugin, to map temporary ponds, but I'm a little lost of the steps to follow, greetings. Thanks     
asked by 23.05.2018 / 18:23
0
answers

Using openlayers 3 in angular 5

Hello, I have developed some .js libraries that facilitate the use of openlayers 3 in my business. I need to use those libraries in Angular 5 , I have loaded them in the .angular-cli.json and using the typeScript "requires (¨address...
asked by 24.04.2018 / 18:22
0
answers

Interactions on Leaflet

I am developing a project in which I have to migrate from Openlayers to leaflet and I have a question about the interactions since in Openlayers they can be defined with different Properties such as: var obCreationInteraction = new ol.inte...
asked by 24.01.2018 / 15:49
0
answers

EPSG Transformations in Leaflet

I'm migrating from the OpenLayers library to Leaflet and I have this problem: The OpenLayers code transforms the EPSG coordinates: 4326 to EPSG: 3857: var arCoordinates = ol.proj.transform(iarClickCoordinates, 'EPSG:4326', 'EPSG:3857');...
asked by 23.01.2018 / 22:47