Skip to content

Commit ddd321a

Browse files
committed
Add new What3Words widget.
1 parent 9d0a1ee commit ddd321a

File tree

9 files changed

+542
-1
lines changed

9 files changed

+542
-1
lines changed

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,12 @@ Share your map by using Facebook, Twitter, Google+, E-Mail, Link, or embedded iF
6969
#####[Demo](http://tmcgee.github.io/cmv-widgets/demo.html?config=share)
7070
![Screenshot](https://tmcgee.github.io/cmv-widgets/images/share1.jpg)
7171

72+
---
73+
### What3Words
74+
A simple widget to send a 3 word address or lat/lng to what3words and zoom the map to the resulting location. The lat/lng and 3 word address for the location are displayed from the search result.
75+
#####[Documentation](https://github.com/tmcgee/cmv-widgets/tree/master/widgets/What3Words/README.md)
76+
![Screenshot](https://tmcgee.github.io/cmv-widgets/images/what3words.jpg)
77+
7278
---
7379
### Zoom to Feature
7480
A simple widget to provide a drop-down list of features to zoom to on the map. Similar to bookmarks but driven by actual data in a Map Service.

index.html

+14-1
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ <h2 id="search">Search</h2>
173173

174174
<div class="row">
175175
<div class="col-md-8 col-md-offset-2">
176-
<h2 id="search">Share</h2>
176+
<h2 id="share">Share</h2>
177177
<p>Share your map by using Facebook, Twitter, Google+, E-Mail, Link, or embedded iFrame code.</p>
178178
<p>
179179
<a href="demo.html?config=share" target="cmv-demo-share" class="btn btn-primary btn-lg">Demo</a>
@@ -187,6 +187,19 @@ <h2 id="search">Share</h2>
187187
</div>
188188
</div>
189189

190+
<div class="row">
191+
<div class="col-md-8 col-md-offset-2">
192+
<h2 id="what3words">What3Words</h2>
193+
<p>A simple widget to send a 3 word address or lat/lng to what3words and zoom the map to the resulting location. The lat/lng and 3 word address for the location are displayed from the search result.</p>
194+
<p>
195+
<a href="https://github.com/tmcgee/cmv-widgets/tree/master/widgets/What3Words" target="cmv-repo-what3words">
196+
<div class="example"><img src="./images/what3words.jpg" alt="Screenshot"></div>
197+
</a>
198+
</p>
199+
<br/><br/>
200+
</div>
201+
</div>
202+
190203
<div class="row">
191204
<div class="col-md-8 col-md-offset-2">
192205
<h2 id="zoom-to-feature">Zoom to Feature</h2>

0 commit comments

Comments
 (0)