diff --git a/spec/index.html b/spec/index.html index ccde02f..ed000ac 100644 --- a/spec/index.html +++ b/spec/index.html @@ -365,6 +365,7 @@

Changes

  • : Remove legendLinks attribute and interface definition and reference, per #212
  • : Remove datalist element and associated input shard and list attributes.
  • : Add layer.zoomTo() method. +
  • : Change behaviour of lat,lon,zoom IDL; remove reflection, add setter behavior. @@ -632,13 +633,15 @@

    The <map> element

    The areas attribute must return an HTMLCollection rooted at the map element, whose filter matches only area child elements.

    -

    The zoom attribute indirectly identifies an initial scale of the map.

    -

    The zoom IDL attribute must reflect the content attribute of the same name.

    +

    The zoom content attribute indirectly identifies an initial scale of the map at document load. The zoom content attribute is not updated; it represents the initial map state only.

    -

    The lat and lon attributes locate the initial center of the map.

    -

    The lat and lon IDL attributes must reflect the content attribute of the same name.

    +

    The zoom IDL attribute gets and sets the live map scale, by re-drawing the map at the requested zoom, if applicable. The zoom IDL attribute does not reflect its value to the zoom content attribute.

    + +

    The lat and lon content attributes locate the initial center of the map at document load. The lat and lon content attributes are not updated; they represent the initial map state only.

    + +

    The lat and lon IDL attributes get and set the live map center location, by re-centering the map at the specified location. The lat and lon IDL attributes do not reflect their values to the lat and lon content attributes.

    -

    The location and zoom level of the map created with the map element can be changed via the zoomTo() API method, which will change the zoom, lat and lon properties.

    +

    The location and scale of the map created with the map element can be changed via the zoomTo(lat,lon,zoom) API method, which will set the lat, lon and zoom IDL attributes.

    The controls attribute is a boolean attribute. If present, it indicates that the author has not provided scripted controls and would like the user agent to provide its own set of controls.