You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/componentsguide/map/index.md
+11-65Lines changed: 11 additions & 65 deletions
Original file line number
Diff line number
Diff line change
@@ -38,34 +38,29 @@ None.
38
38
39
39
## Events
40
40
41
-
Pointer events that emits [`ol.MapBrowserEvent`](http://openlayers.org/en/latest/apidoc/module-ol_MapBrowserEvent-MapBrowserEvent.html)
41
+
You have access to all Events from the underlying source.
42
+
Check out [the official OpenLayers docs](https://openlayers.org/en/latest/apidoc/module-ol_Map-Map.html) to see the available events tht will be fired.
42
43
43
-
-`click`
44
-
-`dblclick`
45
-
-`singleclick`
46
-
-`pointerdrag`
47
-
-`pointermove`
48
-
49
-
Other events that emit [`ol.MapEvent`](http://openlayers.org/en/latest/apidoc/module-ol_MapEvent-MapEvent.html)
50
-
51
-
-`movestart`
52
-
-`moveend`
53
-
-`postrender`
54
-
-`precompose`
55
-
-`postcompose`
44
+
```html
45
+
<ol-map@error="handleEvent">
46
+
<!-- ... -->
47
+
</ol-map>
48
+
```
56
49
57
50
## Methods
58
51
59
52
You have access to all Methods from the underlying source.
60
-
Check out [the official OpenLayers docs](https://openlayers.org/en/latest/apidoc/module-ol_Map.html) to see the available methods.
53
+
Check out [the official OpenLayers docs](https://openlayers.org/en/latest/apidoc/module-ol_Map-Map.html) to see the available methods.
61
54
62
55
To access the source, you can use a `ref()` as shown below:
0 commit comments