Request for support these features:
OL transform feature example:
var feature = new ol.Feature();
var point = new ol.geom.Point([item.long, item.lat]);
feature.setGeometry(point.transform('EPSG:4326', 'EPSG:3857'));
Popup feature example:
var map = new ol.Map(...);
var popup = new ol.Overlay.Popup();
map.addOverlay(popup);
//Event on click
map .on('singleclick', (evt) => {
var coordinate = evt.coordinate;
popup.show(coordinate, "My coord: " + coordinate);
});
Thank you!
Request for support these features:
OL transform feature example:
Popup feature example:
Thank you!