Skip to content

Commit

Permalink
closes Esri#71, Esri#57 (Esri#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
jgravois authored Aug 30, 2016
1 parent c884d44 commit 3d66b36
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
3 changes: 2 additions & 1 deletion data/siteData.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"isDev": true
"isDev": true,
"localSource": false
}
2 changes: 1 addition & 1 deletion src/pages/api-reference/tasks/query.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ layout: documentation.hbs
<tr>
<td><code>nearby({{{param 'LatLng' 'latlng' 'http://leafletjs.com/reference.html#latlng'}}}, {{{param 'Integer' 'distance'}}})</code></td>
<td><code>this</code></td>
<td>Queries features a given distance in meters around a <a href="http://leafletjs.com/reference.html#latlng">LatLng</a>. <small>Only available for Feature Layers hosted on ArcGIS Online or ArcGIS Server 10.3.</small></td>
<td>Queries features a given distance in meters around a <a href="http://leafletjs.com/reference.html#latlng">LatLng</a>. <small>Only available for Feature Layers hosted on ArcGIS Online or ArcGIS Server 10.3 that include the capability <code>supportQueryWithDistance</code>.</small></td>
</tr>
<tr>
<td><code>where({{{param 'String' 'where'}}})</code></td>
Expand Down
9 changes: 5 additions & 4 deletions src/partials/header.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,17 @@
{{#if siteData.isDev}}
<!-- 'livereload' for development -->
<script src="//localhost:35729/livereload.js"></script>
{{else}}
<!-- use CDN -->
<script src="https://cdn.jsdelivr.net/jsdelivr-rum/latest/jsdelivr-rum.min.js"></script>
{{/if}}

{{#if siteData.localSource}}
<!-- Load local linked resources -->
<link rel="stylesheet" href="/js/linked/leaflet-dist/leaflet.css" />
<script src="/js/linked/leaflet-dist/leaflet-src.js"></script>
<script src="/js/linked/esri-leaflet-dist/esri-leaflet-debug.js"></script>
{{else}}

<!-- use CDN -->
<script src="https://cdn.jsdelivr.net/jsdelivr-rum/latest/jsdelivr-rum.min.js"></script>

<link rel="stylesheet" href="https://cdn.jsdelivr.net/leaflet/1.0.0-rc.3/leaflet.css" />
<script src="https://cdn.jsdelivr.net/leaflet/1.0.0-rc.3/leaflet-src.js"></script>
<script src="https://cdn.jsdelivr.net/leaflet.esri/{{package.version}}/esri-leaflet-debug.js"></script>
Expand Down

0 comments on commit 3d66b36

Please sign in to comment.