Skip to content

Commit

Permalink
fixed jsdoc comment formating
Browse files Browse the repository at this point in the history
  • Loading branch information
nhnb committed Jul 18, 2015
1 parent a4ce11f commit 5823477
Show file tree
Hide file tree
Showing 12 changed files with 69 additions and 69 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -44,7 +44,7 @@ Import the main component and start creating your map:
}
</style>
</head>
<body unresolved>
<body>
<leaflet-map fit-to-markers>
<leaflet-marker longitude="77.2" latitude="28.4">
Marker I
Expand Down
2 changes: 1 addition & 1 deletion bower.json
@@ -1,6 +1,6 @@
{
"name": "leaflet-map",
"version": "1.0.2",
"version": "1.1.0",
"authors": [
"Hendrik Brummermann <nhnb@users.sourceforge.net>",
"Prateek Saxena <prtksxna@gmail.com>"
Expand Down
2 changes: 1 addition & 1 deletion demo-header.html
Expand Up @@ -34,7 +34,7 @@ <h1>&lt;leaflet-map&gt;</h1>
<a class="menubutton demobutton" href="https://leaflet-extras.github.io/leaflet-map/demo.html">Demo</a>
<a class="menubutton apidocbutton" href="https://leaflet-extras.github.io/leaflet-map/doc.html#leaflet-map">API</a>
<a class="menubutton pluginbutton" href="https://leaflet-extras.github.io/leaflet-map/plugins.html">Plugins</a>
<a class="menubutton downloadbutton" href="https://github.com/leaflet-extras/leaflet-map/releases/download/v1.0.2/leaflet-map-1.0.2.zip">Download</a>
<a class="menubutton downloadbutton" href="https://github.com/leaflet-extras/leaflet-map/releases/download/v1.1.0/leaflet-map-1.1.0.zip">Download</a>
<a class="menubutton githubbutton" href="https://github.com/leaflet-extras/leaflet-map/">Github</a>
</div>
</header>
Expand Down
6 changes: 3 additions & 3 deletions leaflet-control.html
Expand Up @@ -5,12 +5,12 @@
##### Example
<leaflet-scale-control> </leaflet-scale-control>
<leaflet-scale-control> </leaflet-scale-control>
##### Example
<leaflet-scale-control imperial="false">
</leaflet-scale-control>
<leaflet-scale-control metric>
</leaflet-scale-control>
@element leaflet-scale-control
@blurb Scale control that shows the scale of the current center of screen in metric (m/km) and imperial (mi/ft) systems.
Expand Down
24 changes: 12 additions & 12 deletions leaflet-core.html
Expand Up @@ -6,31 +6,31 @@
##### Example
<leaflet-map> </leaflet-map>
<leaflet-map> </leaflet-map>
This simple example will show a map of the world. It is pan and zoomable.
##### Example
<leaflet-map latitude="78.8" longitude="-96" zoom="5">
<leaflet-map latitude="78.8" longitude="-96" zoom="5">
<leaflet-marker latitude="51.5" longitude="-0.10" title="Some title">
<b>Popup text</b>
</leaflet-marker>
<leaflet-marker latitude="51.5" longitude="-0.10" title="Some title">
<b>Popup text</b>
</leaflet-marker>
</leaflet-map>
</leaflet-map>
This code will zoom in on the specified latitude and longitude coordinates. Further, it will
add a marker with a popup text.
##### Example: Add markers & circles
<leaflet-map longitude="77.2" latitude="28.4" zoom="12">
<leaflet-marker longitude="77.2" latitude="28.4">
Marker
</leaflet-marker>
<leaflet-circle longitude="77.2" latitude="28.4" radius="300">
Circle
</leaflet-circle>
<leaflet-marker longitude="77.2" latitude="28.4">
Marker
</leaflet-marker>
<leaflet-circle longitude="77.2" latitude="28.4" radius="300">
Circle
</leaflet-circle>
</leaflet-map>
Expand Down
24 changes: 12 additions & 12 deletions leaflet-draw.html
Expand Up @@ -317,9 +317,9 @@
##### Example: Add circles
<leaflet-map longitude="77.2" latitude="28.4" zoom="12">
<leaflet-circle longitude="77.2" latitude="28.4" radius="300">
Circle
</leaflet-circle>
<leaflet-circle longitude="77.2" latitude="28.4" radius="300">
Circle
</leaflet-circle>
</leaflet-map>
@element leaflet-circle
Expand Down Expand Up @@ -439,10 +439,10 @@
##### Example: Add polylines
<leaflet-map longitude="77.2" latitude="28.4" zoom="12">
<leaflet-polyline>
<leaflet-point longitude="77.22" latitude="28.44"></leaflet-point>
<leaflet-point longitude="77.44" latitude="28.66"></leaflet-point>
</leaflet-polyline>
<leaflet-polyline>
<leaflet-point longitude="77.22" latitude="28.44"></leaflet-point>
<leaflet-point longitude="77.44" latitude="28.66"></leaflet-point>
</leaflet-polyline>
</leaflet-map>
@element leaflet-polyline
Expand Down Expand Up @@ -514,11 +514,11 @@
##### Example: Add polygona
<leaflet-map longitude="77.2" latitude="28.4" zoom="12">
<leaflet-polygon>
<leaflet-point longitude="77.1000" latitude="13.3400"></leaflet-point>
<leaflet-point longitude="77.5000" latitude="13.5500"></leaflet-point>
<leaflet-point longitude="77.7200" latitude="12.7200"></leaflet-point>
</leaflet-polygon>
<leaflet-polygon>
<leaflet-point longitude="77.1000" latitude="13.3400"></leaflet-point>
<leaflet-point longitude="77.5000" latitude="13.5500"></leaflet-point>
<leaflet-point longitude="77.7200" latitude="12.7200"></leaflet-point>
</leaflet-polygon>
</leaflet-map>
@element leaflet-polygon
Expand Down
10 changes: 5 additions & 5 deletions leaflet-geojson.html
Expand Up @@ -6,11 +6,11 @@
##### Example
<leaflet-map longitude="-104.99404" latitude="39.75621" zoom="12">
<leaflet-geojson
data="{{ {'type': 'Feature', 'properties': {'name': 'Coors Field','popupContent': 'Yo popup'},'geometry': {'type': 'Point','coordinates': [-104.99404, 39.75621]}}}}">
</leaflet-geojson>
</leaflet-map>
<leaflet-map longitude="-104.99404" latitude="39.75621" zoom="12">
<leaflet-geojson
data="{{ {'type': 'Feature', 'properties': {'name': 'Coors Field','popupContent': 'Yo popup'},'geometry': {'type': 'Point','coordinates': [-104.99404, 39.75621]}}}}">
</leaflet-geojson>
</leaflet-map>
Expand Down
2 changes: 1 addition & 1 deletion leaflet-geolocation.html
Expand Up @@ -5,7 +5,7 @@
##### Example
<leaflet-geolocation watch enableHighAccuracy latitude="{{latitude}}" longitude="{{longitude}}"> </leaflet-geolocation>
<leaflet-geolocation watch enableHighAccuracy latitude="{{latitude}}" longitude="{{longitude}}"> </leaflet-geolocation>
@element leaflet-geolocation
@blurb element which controls geo location.
Expand Down
6 changes: 3 additions & 3 deletions leaflet-layer-group.html
Expand Up @@ -5,9 +5,9 @@
##### Example
<leaflet-layer-group>
<leaflet-marker latitude="51.505" longitude="-0.09"> </leaflet-marker>
</leaflet-layer-group>
<leaflet-layer-group>
<leaflet-marker latitude="51.505" longitude="-0.09"> </leaflet-marker>
</leaflet-layer-group>
@element leaflet-layer-group
Expand Down
20 changes: 10 additions & 10 deletions leaflet-layer.html
Expand Up @@ -286,13 +286,13 @@
##### Example
<leaflet-tilelayer
url="https://stendhalgame.org/map/3/{z}-{x}-{y}.png"
minzoom="2" maxzoom="6" nowrap>
<leaflet-tilelayer
url="https://stendhalgame.org/map/3/{z}-{x}-{y}.png"
minzoom="2" maxzoom="6" nowrap>
Map source: <a href="https://stendhalgame.org">Stendhal MMORPG</a>
Map source: <a href="https://stendhalgame.org">Stendhal MMORPG</a>
</leaflet-tilelayer>
</leaflet-tilelayer>
@element leaflet-tilelayer
@blurb element which defines a tile layer. The content of the leaflet-tilelayer is used as attribution.
Expand Down Expand Up @@ -375,13 +375,13 @@
##### Example
<leaflet-tilelayer-wms
url="https://mesonet.agron.iastate.edu/cgi-bin/wms/nexrad/n0r.cgi"
layers="nexrad-n0r-900913" format="image/png" transparent>
<leaflet-tilelayer-wms
url="https://mesonet.agron.iastate.edu/cgi-bin/wms/nexrad/n0r.cgi"
layers="nexrad-n0r-900913" format="image/png" transparent>
Weather data &copy; 2012 IEM Nexrad
Weather data &copy; 2012 IEM Nexrad
</leaflet-tilelayer-wms>
</leaflet-tilelayer-wms>
@element leaflet-tilelayer-wms
@blurb Element which defines a tile layer for wms. The content of the leaflet-tilelayer-wms is used as attribution. It inherits attributes and events from &lt;leaflet-tilelayer&gt;
Expand Down
24 changes: 12 additions & 12 deletions leaflet-map.html
Expand Up @@ -3,31 +3,31 @@
##### Example
<leaflet-map> </leaflet-map>
<leaflet-map> </leaflet-map>
This simple example will show a map of the world. It is pan and zoomable.
##### Example
<leaflet-map latitude="78.8" longitude="-96" zoom="5">
<leaflet-map latitude="78.8" longitude="-96" zoom="5">
<leaflet-marker latitude="51.5" longitude="-0.10" title="Some title">
<b>Popup text</b>
</leaflet-marker>
<leaflet-marker latitude="51.5" longitude="-0.10" title="Some title">
<b>Popup text</b>
</leaflet-marker>
</leaflet-map>
</leaflet-map>
This code will zoom in on the specified latitude and longitude coordinates. Further, it will
add a marker with a popup text.
##### Example: Add markers & circles
<leaflet-map longitude="77.2" latitude="28.4" zoom="12">
<leaflet-marker longitude="77.2" latitude="28.4">
Marker
</leaflet-marker>
<leaflet-circle longitude="77.2" latitude="28.4" radius="300">
Circle
</leaflet-circle>
<leaflet-marker longitude="77.2" latitude="28.4">
Marker
</leaflet-marker>
<leaflet-circle longitude="77.2" latitude="28.4" radius="300">
Circle
</leaflet-circle>
</leaflet-map>
Expand Down
16 changes: 8 additions & 8 deletions leaflet-marker.html
Expand Up @@ -7,7 +7,7 @@
##### Example
<leaflet-icon id="myicon"
icon-url="https://stendhalgame.org/images/mapmarker/me.png">
icon-url="https://stendhalgame.org/images/mapmarker/me.png">
</leaflet-icon>
@element leaflet-icon
Expand Down Expand Up @@ -248,7 +248,7 @@
##### Example
<leaflet-divicon id="myicon" classname="name">
<a href="https://leaflet-extras.github.io/leaflet-map/demo.html">Demo</a>
<a href="https://leaflet-extras.github.io/leaflet-map/demo.html">Demo</a>
</leaflet-icon>
@element leaflet-divicon
Expand Down Expand Up @@ -366,16 +366,16 @@
##### Example
<leaflet-marker latitude="51.5" longitude="-0.10" title="Some title">
<b>Popup text</b>
</leaflet-marker>
<leaflet-marker latitude="51.5" longitude="-0.10" title="Some title">
<b>Popup text</b>
</leaflet-marker>
##### Example
<leaflet-icon id="myicon" iconurl="https://stendhalgame.org/images/mapmarker/me.png"></leaflet-icon>
<leaflet-icon id="myicon" iconurl="https://stendhalgame.org/images/mapmarker/me.png"></leaflet-icon>
<leaflet-marker latitude="51.5" longitude="-0.10" title="Some title" icon="myicon">
</leaflet-marker>
<leaflet-marker latitude="51.5" longitude="-0.10" title="Some title" icon="myicon">
</leaflet-marker>
@element leaflet-marker
@blurb element which defines a marker. The content is used as popup window, unless it is empty.
Expand Down

0 comments on commit 5823477

Please sign in to comment.