Skip to content

Commit 933146d

Browse files
[fix]console.log
1 parent 97fcfbf commit 933146d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/openlayers/overlay/Graphic.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ export class Graphic extends ImageCanvasSource {
111111
me.map.on('pointermove', function(e) {
112112
const graphic = me.findGraphicByPixel(e, me);
113113
if (graphic) {
114-
console.log('moveeeeeeeee')
115114
if (me.isDeckGLRender) {
116115
if (options.highlightColor) {
117116
me.renderer.deckGL.pickObject({ x: e.pixel[0], y: e.pixel[1] });
@@ -191,8 +190,7 @@ export class Graphic extends ImageCanvasSource {
191190
function _forEachFeatureAtCoordinate(coordinate, resolution, callback, evtPixel, e) {
192191
let graphics = me.getGraphicsInExtent();
193192
// FIX 无法高亮元素
194-
// me._highLightClose();
195-
console.log('foreach')
193+
me._highLightClose();
196194
for (let i = graphics.length - 1; i >= 0; i--) {
197195
let style = graphics[i].getStyle();
198196
if (!me.isDeckGLRender && !style) {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy