openlayers 4.6.5
how to move his next marker to new coordinates. I try with:
var transform = ol.proj.getTransform('EPSG: 4326', 'EPSG: 3857');
var coordinate = transform([lng, lat]);
var geometry = new ol.geom.Point();
var geometry = new ol.geom.point();
geometry.setCoordinates(coordinate);
feature.setGeometry(geaometry);


But it does not work when the coordinates are refilled with ajax the 
feature does not move.
Ps: I am a beginner.

-- 
You received this message because you are subscribed to the Google Groups 
"OpenLayers Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to openlayers-dev+unsubscr...@googlegroups.com.
To post to this group, send email to openlayers-dev@googlegroups.com.
Visit this group at https://groups.google.com/group/openlayers-dev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/openlayers-dev/0ac25040-0afa-45ba-9811-7d33f82d8e86%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to