Merge pull request #2580 from probins/patch-1

Small improvements to description of ol.Map example
This commit is contained in:
Éric Lemoine
2014-08-21 10:21:49 +02:00
+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