From 21dddbcb1f7719c6e6e4ab01c89efe2a20e9e434 Mon Sep 17 00:00:00 2001 From: Ansis Brammanis Date: Wed, 16 Mar 2016 16:25:57 -0700 Subject: [PATCH] update examples for new queryRenderedFeatures --- .../examples/3400-01-04-center-on-symbol.html | 26 ++--- .../examples/3400-01-04-hover-styles.html | 18 ++- .../3400-01-05-queryrenderedfeatures.html | 8 +- .../3400-01-06-polygon-popup-on-click.html | 33 ++---- .../examples/3400-01-06-popup-on-click.html | 36 +++--- .../examples/3400-01-06-popup-on-hover.html | 31 +++-- .../3400-01-17-updating-choropleth.html | 34 +++--- ...1-19-using-box-queryrenderedfeatures.html} | 65 +++++------ .../3400-01-20-timeline-animation.html | 62 +++++----- docs/_posts/examples/3400-01-22-measure.html | 110 ++++++++---------- js/ui/map.js | 2 +- 11 files changed, 180 insertions(+), 245 deletions(-) rename docs/_posts/examples/{3400-01-19-using-featuresin.html => 3400-01-19-using-box-queryrenderedfeatures.html} (76%) diff --git a/docs/_posts/examples/3400-01-04-center-on-symbol.html b/docs/_posts/examples/3400-01-04-center-on-symbol.html index 04dc4dfa81c..c5021aa56da 100644 --- a/docs/_posts/examples/3400-01-04-center-on-symbol.html +++ b/docs/_posts/examples/3400-01-04-center-on-symbol.html @@ -2,7 +2,7 @@ layout: example category: example title: Center the map on a clicked marker -description: Using featuresAt and flyTo to center the map on a symbol +description: Using queryRenderedFeatures and flyTo to center the map on a symbol ---
diff --git a/docs/_posts/examples/3400-01-04-hover-styles.html b/docs/_posts/examples/3400-01-04-hover-styles.html index 9812785c764..b7588a92c3d 100644 --- a/docs/_posts/examples/3400-01-04-hover-styles.html +++ b/docs/_posts/examples/3400-01-04-hover-styles.html @@ -2,7 +2,7 @@ layout: example category: example title: Highlight features under the mouse pointer -description: Using featuresAt and a filter to change hover styles +description: Using queryRenderedFeatures and a filter to change hover styles ---
diff --git a/docs/_posts/examples/3400-01-05-queryrenderedfeatures.html b/docs/_posts/examples/3400-01-05-queryrenderedfeatures.html index f7e14277cbc..41ca91e58fb 100644 --- a/docs/_posts/examples/3400-01-05-queryrenderedfeatures.html +++ b/docs/_posts/examples/3400-01-05-queryrenderedfeatures.html @@ -2,7 +2,7 @@ layout: example category: example title: Get features under the mouse pointer -description: Using the featuresAt API to show properties of hovered-over map elements. +description: Using the queryRenderedFeatures API to show properties of hovered-over map elements. ---