-
Notifications
You must be signed in to change notification settings - Fork 6
/
gmapsz-release-note
296 lines (240 loc) · 9.25 KB
/
gmapsz-release-note
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
--------
Gmaps 3.3.0
* Features:
ZKGMAPS-33: provide an option to specify raw polyline/-gon coordinates (not encoded)
* Bugs:
* Upgrade Notes:
deprecated methods from GPolyLine have been removed without replacement, since the gmaps JS api no longer supported those function.
Removed methods:
- Gpolyline.getNumLevels() / setNumLevels()
- Gpolyline.getZoomFactor()
Removed obsolete LatLng constructor:
- public LatLng(double latitude, double longitude, boolean unbound) {
--------
Gmaps 3.2.1
* Features:
* Bugs:
ZKGMAPS-30: fitBounds fails with h/vflex
ZKGMAPS-31: Gmaps.closeInfo() cause NPE
ZKGMAPS-32: gmaps view zooms out when calling invalidate
* Upgrade Notes:
--------
Gmaps 3.2.0
* Features:
* Bugs:
ZKGMAPS-26: update deprecated api loading mechanism
ZKGMAPS-27: duplicate of ZKGMAPS-28
ZKGMAPS-28: allow gmap to also load additional libraries (fixed by ZKGMAPS-26)
* Upgrade Notes:
With ZKGMAPS-26 the deprecated "jsapi loader" was removed,
hence Gmaps.setBaseDomain() has no effect anymore -> use Gmaps.setRegion() instead
(https://developers.google.com/maps/premium/faq#ssl_base_domain)
--------
Gmaps 3.1.1
* Features:
* Bugs:
ZKGMAPS-29: jquery API error with ZK 9.1.0
* Upgrade Notes:
--------
Gmaps 3.1.0
* Features:
ZKGMAPS-23: allow arbitrary mapOptions
* Bugs:
ZKGMAPS-25: Google API changed, redirect jsapi
* Upgrade Notes:
--------
Gmaps 3.0.5
* Features:
* Bugs:
ZKGMAPS-19: No marker events due to race condition between overrideMarkerManager and readbind
ZKGMAPS-18: Loading Mask causes JS Error
ZKGMAPS-20: Add apiKey parameter to GmapsUtil methods + HTTPS
* Upgrade Notes:
--------
Gmaps 3.0.4 (work with ZK 5.0+ only)
* Features:
ZKGMAPS-12: Update Gmap loader to match current API
* Bugs:
ZKGMAPS-6: zoom/position issues when using MapItemRenderer
ZKGMAPS-7: gmaps doesn't synchromize zoom level if no listener registered for onMapZoom event
ZKGMAPS-8: Ginfo setOpen() response targets gmaps on true and ginfo on false
ZKGMAPS-9: Initial defaults causing reset of zoom level/center
ZKGMAPS-10: Gmaps dynamic rendering issue
ZKGMAPS-11: Gmaps effect.mask causes JS exception after ZK 8.0.2
* Upgrade Notes:
--------
Gmaps 3.0.3 (work with ZK 5.0+ only)
* Features:
* Bugs:
Issue 44: Gmap disapper when removing Gmarker
* Upgrade Notes:
--------
Gmaps 3.0.2 (work with ZK 5.0+ only)
* Features:
Issue 37: Gmaps supports Client ID
Issue 41: Gmarker support visible attribute
Issue 40: Gpolygon support editable attribute
Issue 39: Provide fitBounds API
Issue 20: Add google.maps.LatLngBounds()
* Bugs:
Issue 21: Tooltip not work after ZK6
Issue 34: Gmarker#isOpen returns wrong value
Issue 35: Open status of Gmarker is not updated properly when close info window
Issue 36: Gmarker supports popup as tooltip
Issue 29: gmapsz on mobile devices
Issue 42: JS error appear with multiple gmaps
Issue 43: Loading mask not cleared without network
Issue 28: Incorrect max zoom level
Issue 27: Impossible to reopen a gmark that has been closed
Issue #2: Gpolygon#setPoints not work with empty string
Issue #3: Gmap does not update its state under client render on demand
* Upgrade Notes:
--------
Gmaps 3.0.1 (work with ZK 5.0+ only)
* Features:
Issue 17: Add panControl option in Gmapsz 3.0
* Bugs:
Issue 19: Borderlayout errors with gmap - Message: 'this.__mask' is null or not an object - IE8
* Upgrade Notes:
--------
Gmaps 3.0.0 (work with ZK 5.0+ only)
* Features:
Issue 3: Using GMap in HTTPS application
Issue 4: Supports vflex/hflex
Issue 7: create a circle with gmaps api v3
* Bugs:
Issue 8: First gmarker fails when there are more than one gmap in a page
Issue 9: Javascript Error: GUnload is not defined
Issue 10: latlng is undefined
Issue 11: Google maps V 3.5
Issue 15: Javascript error with borderlayout
* Upgrade Notes:
+ Migrate to Google Maps API v3
+ Currently not support drag between map items and ZK components
+ Currently not support GScreen and Google Bar
+ Provide a way to specify api version manually
+ Provide a way to specify google map library manually
+ Add Geocoding Service to GmapsUtil
--------
Gmaps 2.0.52 (work with ZK 5.0+ only)
* Features:
* Bugs:
3294703: Gmarker doesn't open when the gmap is not located to the map
3299212: The initial opening of Gmarker not work if out of range.
--------
Gmaps 2.0.51 (work with ZK 5.0+ only)
* Features:
* Bugs:
2929253: Gmaps partly broken if initially hidden then set visible
2930047: Gmaps Exception when set lat/lng to integer
2930482: IE8 only. Cannot dynamically createComponents of a gmap
2940344: Two Gmaps in one page will cause gmaker non draggable
2994434: "a is null" javascript exception
2996368: Cannot open marker info window before added as an overlay
3003171: Javascript error when use <gpolygon>
3003173: Javascript error when use <gscreen>
3008462: JavaScript error when drag open info Gmarker to the far side
3013016: JavaScript error when open info on a Gmarker without id
--------
Gmaps 2.0_50 (work with ZK 5.0+ only)
* Features:
2834678: MapMouseEvent support getKeys()
2908711: Gmaps support dynamic loading of Maps API
2908714: Gmaps support language attribute.
2908716: Gmaps support baseDomain attribute
2908727: Gmaps support sensor attribute
* Bugs:
* Upgrade Notes:
+ org.zkoss.gmaps.event.MapOpenEvent is no longer supported. Application users
has to implement similar function by means of onClick/onRightClick and org.zkoss.zul.Popup.open()
in either server side or client side.
+ org.zkoss.gmaps.event.MapClickEvent is no longer supported; use org.zkoss.gmaps.event.MapMouseEvent
instead.
+ org.zkoss.gmaps.event.MarkerDropEvent is no longer supported; use org.zkoss.gmaps.event.MapDropEvent
instead.
+ Since Gmaps now supports Google Ajax API, the way to provide the Google API key is a little bit different
from that of old version. User shall provide <script content="googleAPIkey='your-key-here'"/> or
<?script content="googleAPIkey='your-key-here'" ?> in the page.
--------
Gmaps 2.0_12 (work with ZK 3.6.x)
* Features:
2767037: Support onMapTypeChange event
* Bugs:
2693527: Gmaps: polygon disappear after zoom in
2588638: Gmarker doesn't open link in content with Firefox
2792012: onMapRightClick of gmapz doens't work
2813930: Memory Leak in GMaps Model clear
2800271: ginfo dissapears when zoom level changed in gmap
2825734: Javascript error. zkau.cleandrop not defined (Work with ZK 3.6.2)
--------
Gmaps 2.0_11
* Features:
* Bugs:
2167700: FF3 only. Exception when click on ZK Pet Shop Maps
--------
Gmaps 2.0_10
* Features:
2066750: Support lat and lng when open popup menu on Gmaps
2075353: Able to get Google Maps bound in server side
* Bugs:
2099729: IE Only-Gmaps in Center region not auto resize vertically
--------
Gmaps 2.0_9
* Features:
2012173: Gmaps support MapModel and MapitemRenderer
2012174: Gmaps support MapModelSet
2012175: Gmaps support onMapRightClick
2012179: Gmaps support MapMouseEvent
2012180: Gmaps support Gscreen
2012184: Gmaps support onSelect event
2012185: Fine tune open info window to avoide round trip
2012188: Gmaps support onMapDrop
2012192: Gmarker support drag & drop onto other ZK component
2014101: Gmarker suupport onMapDrop
2012195: Gmaps support MapModelList
2012194: Gmaps support MapModelMap
* Bugs:
2014114: When dragging a gmarker, sometime it stick on the map
2015626: Fail to add opened out-of-range grmaker to Gmaps
* Upgrade Notes:
1. org.zkoss.gmaps.event.MapClickEvent is deprecated, now Gmaps
is sent the org.zkoss.gmaps.event.MapMouseEvent instead when
onMapClick or onMapDoubleClick.
2. To distinguish whether Gmarker is draggable only inside Gmaps,
a new method setDraggingEnabled() is added into Gmarker. If
setDraggingEnabled to true, then the Gmarker can be draggable
only inside Gmaps as it was. If setDraggingEnabled to false,
then the Gmarker can be dragged outside the Gmaps and drop
onto other ZK components provided proper draggable property
is set (by calling setDraggable) .
--------
Gmaps 2.0_8
* Features:
1856250: Gmarker support minZoom and maxZoom
1995769: Gmaps onMapMove event return Bounds
* Bugs:
1894759: Gmaps in non-embedded Window displays incorrectly
1995761: Gmaps js error when change gmarker openinfo very fast
* Upgrade Notes:
--------
Gmaps 2.0_7
* Features:
1856230: Gmaps Support more configuration
1856240: Gmaps support G_PHYSICAL_MAP
1856241: Gmaps support Gpolygon component
1856245: Gmaps support more controls
1856248: Gmaps support add and remove map type
1861261: Gmaps suport Gimage
* Bugs:
* Upgrade Notes:
--------
Gmaps 2.0_6
* Features:
1771417: Gmaps support onMapDoubleClick
1771418: Gmaps support Gpolyline
1771419: Gmarker support change icon
1771421: Gmarker support dragging
1771422: Gmarker support onMarkerDrop event
* Bugs:
* Upgrade Notes:
+ Gmaps 2.0_6 works with ZK 3.0.0 and later only.