100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps
Java asset-managementbuildingdashboarddataplatformdevice-managementedge-computingenergyenergy-managementenergy-monitorfleet-managementfleet-telematicsiotiot-applicationiot-platformmodbusmqttmqtt-brokerota-updaterules-enginesmartcity
Remove longPress event from geocode change
Robin Dekkers43c5028e8ac9
diff --git a/ui/component/or-map/src/mapwidget.ts b/ui/component/or-map/src/mapwidget.tsindex 3bdcc4a7f..3d07d913a 100644--- a/ui/component/or-map/src/mapwidget.ts+++ b/ui/component/or-map/src/mapwidget.ts@@ -355,10 +355,6 @@ export class MapWidget {this._geocoder._inputEl.addEventListener("change", () => {var selected = this._geocoder._typeahead.selected;this._onGeocodeChange(selected);- if (selected) {- // Set marker by calling _onMapClick and doubleClicked set to true- this._onLongPress(selected.center);- }});}