Small improvements to description of ol.Map example

This commit is contained in:
Peter Robins
2014-08-21 08:46:40 +01:00
parent dcf05af210
commit b858421220
+3 -2
View File
@@ -137,8 +137,9 @@ ol.MapProperty = {
* target: 'map' * target: 'map'
* }); * });
* *
* The above snippet creates a map with a MapQuest OSM layer on a 2D view and * The above snippet creates a map using a {@link ol.layer.Tile} to display
* renders it to a DOM element with the id `map`. * {@link ol.source.MapQuest} OSM data and render it to a DOM element with the
* id `map`.
* *
* The constructor places a viewport container (with CSS class name * The constructor places a viewport container (with CSS class name
* `ol-viewport`) in the target element (see `getViewport()`), and then two * `ol-viewport`) in the target element (see `getViewport()`), and then two