Skip to content

Commit e5368f5

Browse files
committed
Website updates
1 parent c30dd60 commit e5368f5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+60
-78
lines changed

dist/en/main/examples/animated-gif.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,8 +335,7 @@ <h5 class="source-heading">main.js</h5>
335335

336336
// change mouse cursor when over icon
337337
map.on(&#x27;pointermove&#x27;, function (e) {
338-
const pixel &#x3D; map.getEventPixel(e.originalEvent);
339-
const hit &#x3D; map.hasFeatureAtPixel(pixel);
338+
const hit &#x3D; map.hasFeatureAtPixel(e.pixel);
340339
map.getTarget().style.cursor &#x3D; hit ? &#x27;pointer&#x27; : &#x27;&#x27;;
341340
});
342341
</code></pre>

dist/en/main/examples/animated-gif.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/en/main/examples/animated-gif.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/en/main/examples/drag-and-drop-custom-kmz.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,8 +266,7 @@ <h5 class="source-heading">main.js</h5>
266266
if (evt.dragging) {
267267
return;
268268
}
269-
const pixel &#x3D; map.getEventPixel(evt.originalEvent);
270-
displayFeatureInfo(pixel);
269+
displayFeatureInfo(evt.pixel);
271270
});
272271

273272
map.on(&#x27;click&#x27;, function (evt) {

dist/en/main/examples/drag-and-drop-custom-kmz.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)