@@ -5341,18 +5341,34 @@ <h5>Conclusion</h5>
5341
5341
</ ul >
5342
5342
</ section >
5343
5343
5344
- < section id ="capability-pan-map -or-re-centre-map " data-ucr-role ="capability ">
5345
- < h4 > Pan a map or re-centre a map</ h4 >
5344
+ < section id ="capability-pan-zoom -or-re-centre-map " data-ucr-role ="capability ">
5345
+ < h4 > Pan, zoom or re-centre a map</ h4 >
5346
5346
< p >
5347
- Description to follow
5347
+ Developers expect to be able to control a map by changing its centre and/or zoom level,
5348
+ and may also wish to support the capability of resetting a map to its view as originally presented.
5349
+ If the map view cannot be dynamically modified by an application,
5350
+ as opposed to changes by direct user interaction with the map,
5351
+ then it offers fewer advantages over a static map view.
5352
+ </ p >
5353
+ < p >
5354
+ It is usually also desirable that such changes can be accomplished in a manner that gives sufficient
5355
+ visual feedback to the user that a change is occurring,
5356
+ for example by animating the transition rather than simply redrawing the map with the new view,
5357
+ which may not be immediately noticeable to the user.
5358
+ </ p >
5359
+ < p >
5360
+ Accessibility is an important consideration when the state of a map is altered dynamically.
5361
+ Thought should be given to how the change can be made known to assistive technologies so that the user
5362
+ is fully informed and thus cognisant of the current state of the map at all times.
5348
5363
</ p >
5349
5364
< p class ="issue discussion " data-number ="67 ">
5350
5365
Discuss this section on GitHub.
5351
5366
</ p >
5352
5367
5353
5368
< h5 > Existing implementations</ h5 >
5354
5369
< p >
5355
- Existing implementation support:
5370
+ All the reviewed JavaScript API implementations support changing the bounds, centre, and zoom level of a map,
5371
+ and allow such transitions to be animated.
5356
5372
</ p >
5357
5373
< dl data-ucr-role ="implementation-notes ">
5358
5374
<!-- Use dt elements to name the implementation, using the id string to create an auto-link.
@@ -5368,8 +5384,12 @@ <h5>Existing implementations</h5>
5368
5384
< dt > leaflet-api</ dt >
5369
5385
< dt > open-layers-api</ dt >
5370
5386
< dt > d3-geographies-api</ dt >
5371
- < dd > < a > not applicable </ a > :
5387
+ < dd > < a > full support </ a > :
5372
5388
<!-- details about what is/isn't supported -->
5389
+ < p >
5390
+ Animated transitions are supported by calling specific methods with names such as < code > flyTo</ code >
5391
+ or via a Boolean parameter to a more general method such as < code > setView</ code > .
5392
+ </ p >
5373
5393
</ dd >
5374
5394
</ dl >
5375
5395
@@ -5394,7 +5414,8 @@ <h5>Conclusion</h5>
5394
5414
See examples.
5395
5415
-->
5396
5416
< p >
5397
- Based on the limited data, we are < a data-ucr-role ="conclusion "> undecided</ a > about whether this should be a requirement.
5417
+ As this is capability is required for any dynamic update of a map view such as would be expected of a map-based application,
5418
+ it is a < a data-ucr-role ="conclusion "> requirement</ a > for embedded web maps.
5398
5419
</ p >
5399
5420
< ul data-ucr-role ="conclusion-notes ">
5400
5421
<!-- bullet-point notes summarizing implementation details / blocking issues.
0 commit comments