-
Notifications
You must be signed in to change notification settings - Fork 0
/
RELEASE_NOTES.txt
58 lines (41 loc) · 1.3 KB
/
RELEASE_NOTES.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
see the code sample here:
example/src/App.js
---------------------------------------------------------------------
release v1.8.0
- Modified function arguments:
Remove the refreshToken parameter from signInByToken
It was decided to remove it since it is not useful and since it was
never made to work initially.
- New function:
add the function aroundMe() centering on the user via geolocation
---------------------------------------------------------------------
release v1.7.0
- New parameter maxbounds
maxbounds defines the map boundaries
const INITIAL_MAP_CONFIG = {
emmid: 19158,
maxbounds: {
northEast: {
latitude: 52.526714,
longitude: 13.37477
},
southWest: {
latitude: 52.522667,
longitude: 13.364878
}
},
};
- New functions:
signOut()
You need to sign in in the menu. Then this function can sign you out
It was tested using a long setTimeout timer.
setSourceLists([74878])
Add new lists of pinpoints, where each parameter is a list id
- New events:
When moving the map:
onMapMoved={(json) => console.log('map moved', json)}
When clicking:
onMapClick={(json) => console.log('map click', json)}
When performing a long click:
onMapLongClick={(json) => console.log('map long click', jsonString)}
---------------------------------------------------------------------