Jason's public fiddles
-
"graphic-move" handler is working
"graphic-move" handler give such important paramerts as graphic and trasform. From graphic we need to take geometry coordinatess, convert to screen coordinates via map.toScreen(), add to this coordinates differences from transform parametr (to x - transform.dx e.t.), convert result to map coordinates (via map.toMap()), convert to latitude/longitude using webMercatorUtils.xyToLngLat() and receive result in array (like [x, y])
-
uhvuzjvr
No-Library (pure JS), HTML, CSS, JavaScript
-
Updating the coordinates of a moving graphic.
No-Library (pure JS), HTML, CSS, JavaScript
-
"graphic-move" handler not working
"graphic-move" acting like "graphic-first-move"