Last active
October 11, 2015 02:18
-
-
Save blalor/3787293 to your computer and use it in GitHub Desktop.
Polymaps + Raphaël
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function bounds(features) { | |
| var i = -1, | |
| n = features.length, | |
| geometry, | |
| bounds = [{lon: Infinity, lat: Infinity}, {lon: -Infinity, lat: -Infinity}]; | |
| while (++i < n) { | |
| geometry = features[i].geometry; | |
| boundGeometry[geometry.type](bounds, geometry.coordinates); | |
| } | |
| return bounds; | |
| } | |
| function boundPoint(bounds, coordinate) { | |
| var x = coordinate[0], y = coordinate[1]; | |
| if (x < bounds[0].lon) bounds[0].lon = x; | |
| if (x > bounds[1].lon) bounds[1].lon = x; | |
| if (y < bounds[0].lat) bounds[0].lat = y; | |
| if (y > bounds[1].lat) bounds[1].lat = y; | |
| } | |
| function boundPoints(bounds, coordinates) { | |
| var i = -1, n = coordinates.length; | |
| while (++i < n) boundPoint(bounds, coordinates[i]); | |
| } | |
| function boundMultiPoints(bounds, coordinates) { | |
| var i = -1, n = coordinates.length; | |
| while (++i < n) boundPoints(bounds, coordinates[i]); | |
| } | |
| var boundGeometry = { | |
| Point: boundPoint, | |
| MultiPoint: boundPoints, | |
| LineString: boundPoints, | |
| MultiLineString: boundMultiPoints, | |
| Polygon: function(bounds, coordinates) { | |
| boundPoints(bounds, coordinates[0]); // exterior ring | |
| }, | |
| MultiPolygon: function(bounds, coordinates) { | |
| var i = -1, n = coordinates.length; | |
| while (++i < n) boundPoints(bounds, coordinates[i][0]); | |
| } | |
| }; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html> | |
| <head> | |
| <script type="text/javascript" src="http://polymaps.org/polymaps.min.js?2.5.1"></script> | |
| <script type="text/javascript" src="https://github.com/caolan/async/raw/master/lib/async.js"></script> | |
| <script type="text/javascript" src="https://raw.github.com/DmitryBaranovskiy/raphael/master/raphael.js"></script> | |
| <style type="text/css"> | |
| html, body { | |
| height: 100%; | |
| } | |
| body { | |
| margin: 0; | |
| background: #E5E0D9; | |
| } | |
| #track_outline path { | |
| /*fill: lightsteelblue;*/ | |
| fill-opacity: 0; | |
| stroke: steelblue; | |
| stroke-width: 4; | |
| } | |
| </style> | |
| </head> | |
| <body id="map"> | |
| <script type="text/javascript" src="bounds.js"></script> | |
| <script type="text/javascript" src="RaphaelPoint.js"></script> | |
| <script type="text/javascript" src="trackmap.js"></script> | |
| <script type="text/javascript" src="index.js"></script> | |
| </body> | |
| </html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var geoJsonPoint = [{ | |
| "type":"Feature", | |
| "properties":{}, | |
| "geometry":{ | |
| "type":"Point", | |
| "coordinates": [-123.190216, 47.256065], | |
| } | |
| }]; | |
| var po = org.polymaps; | |
| var map = null; | |
| // var _raph = Raphael(document.body.appendChild(po.svg("svg")), "100%", "100%"); | |
| var _raph = Raphael(document.body, "100%", "100%"); | |
| var raphPt = new RaphPoint(_raph, 47.256065, -123.190216); | |
| map = po.map() | |
| .container(_raph.canvas) | |
| .add( | |
| po | |
| .image() | |
| .url( | |
| po | |
| .url("http://{S}tile.openstreetmap.org/{Z}/{X}/{Y}.png") | |
| .hosts(["a.","b.","c.",""]) | |
| ) | |
| ) | |
| .add(po.interact()) | |
| .add(po.geoJson().features(geoJsonFeatures).id("track_outline")) | |
| .add(raphPt) | |
| .extent(bounds(geoJsonFeatures)) | |
| .zoomBy(-0.05) | |
| .angle(0.5) // just because | |
| .on("move", function(e) { console.log("map::move " + JSON.stringify(e)); }) | |
| .on("resize", function(e) { console.log("map::resize"); }) | |
| ; | |
| // var anotherPoint = po.svg("circle"); | |
| // anotherPoint.setAttribute("r", "10"); | |
| // map.container().appendChild(anotherPoint); | |
| // map.on("move", function() { | |
| // var l = map.locationPoint({lat: 47.256065, lon: -123.190216}); | |
| // anotherPoint.setAttribute("transform", "translate(" + l.x + "," + l.y + ")"); | |
| // }); | |
| var whilstEnd = geoJsonFeatures[0].geometry.coordinates.length - 1; | |
| var whilstCur = 0; | |
| async.whilst( | |
| function() { return true; }, // test | |
| function(cb) { // function | |
| var coord = geoJsonFeatures[0].geometry.coordinates[whilstCur++]; | |
| if (whilstCur == whilstEnd) { | |
| whilstCur = 0; | |
| } | |
| raphPt.setLocation(coord[1], coord[0]); | |
| window.setTimeout(cb, 200); | |
| }, | |
| function(err) { // callback when done | |
| console.error(err); | |
| } | |
| ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function RaphPoint(paper, lat, lon) { | |
| var that = this; | |
| that._paper = paper; | |
| that._lat = lat; | |
| that._lon = lon; | |
| that._map = null; // provided via map() | |
| that._el = that._paper.circle(0,0,5) | |
| .attr("fill", "#223fa3") | |
| .attr("stroke", "#223fa3"); | |
| }; | |
| RaphPoint.prototype.redraw = function() { | |
| var that = this; | |
| var pt = that._map.locationPoint({lat: that._lat, lon: that._lon}); | |
| that._el.transform(Raphael.format("T{0},{1}", pt.x, pt.y)); | |
| }; | |
| RaphPoint.prototype.setLocation = function(lat, lon) { | |
| var that = this; | |
| that._lat = lat; | |
| that._lon = lon; | |
| that.redraw(); | |
| }; | |
| RaphPoint.prototype.map = function(m) { | |
| var that = this; | |
| that._map = m; | |
| // bring the element to the front-most z-index; could maybe wait to create | |
| // the element here? | |
| that._el.toFront(); | |
| that._map | |
| .on("move", function(e) { that.redraw() ;}) | |
| .on("resize", function(e) { that.redraw(); }); | |
| that.redraw(); | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var geoJsonFeatures = [ | |
| { | |
| "type": "Feature", | |
| "properties": {}, | |
| "geometry": { | |
| "type": "LineString", | |
| "coordinates": [ | |
| [-123.187782, 47.254658], | |
| [-123.187706, 47.254658], | |
| [-123.187706, 47.254658], | |
| [-123.187630, 47.254654], | |
| [-123.187553, 47.254654], | |
| [-123.187477, 47.254654], | |
| [-123.187408, 47.254650], | |
| [-123.187332, 47.254650], | |
| [-123.187256, 47.254650], | |
| [-123.187180, 47.254646], | |
| [-123.187111, 47.254646], | |
| [-123.187035, 47.254642], | |
| [-123.187035, 47.254642], | |
| [-123.186966, 47.254642], | |
| [-123.186897, 47.254639], | |
| [-123.186829, 47.254635], | |
| [-123.186760, 47.254635], | |
| [-123.186691, 47.254635], | |
| [-123.186623, 47.254635], | |
| [-123.186554, 47.254635], | |
| [-123.186493, 47.254635], | |
| [-123.186432, 47.254635], | |
| [-123.186432, 47.254635], | |
| [-123.186363, 47.254635], | |
| [-123.186302, 47.254639], | |
| [-123.186241, 47.254642], | |
| [-123.186180, 47.254650], | |
| [-123.186111, 47.254654], | |
| [-123.186058, 47.254662], | |
| [-123.185997, 47.254673], | |
| [-123.185936, 47.254684], | |
| [-123.185875, 47.254696], | |
| [-123.185806, 47.254707], | |
| [-123.185806, 47.254707], | |
| [-123.185745, 47.254723], | |
| [-123.185692, 47.254742], | |
| [-123.185631, 47.254757], | |
| [-123.185570, 47.254776], | |
| [-123.185509, 47.254795], | |
| [-123.185448, 47.254818], | |
| [-123.185387, 47.254837], | |
| [-123.185326, 47.254860], | |
| [-123.185265, 47.254887], | |
| [-123.185265, 47.254887], | |
| [-123.185211, 47.254910], | |
| [-123.185150, 47.254936], | |
| [-123.185097, 47.254963], | |
| [-123.185051, 47.254990], | |
| [-123.184998, 47.255016], | |
| [-123.184944, 47.255043], | |
| [-123.184898, 47.255070], | |
| [-123.184853, 47.255096], | |
| [-123.184807, 47.255123], | |
| [-123.184807, 47.255123], | |
| [-123.184769, 47.255150], | |
| [-123.184723, 47.255180], | |
| [-123.184685, 47.255211], | |
| [-123.184654, 47.255241], | |
| [-123.184631, 47.255276], | |
| [-123.184608, 47.255310], | |
| [-123.184578, 47.255344], | |
| [-123.184563, 47.255383], | |
| [-123.184547, 47.255421], | |
| [-123.184547, 47.255421], | |
| [-123.184540, 47.255459], | |
| [-123.184525, 47.255501], | |
| [-123.184525, 47.255543], | |
| [-123.184525, 47.255581], | |
| [-123.184525, 47.255619], | |
| [-123.184532, 47.255657], | |
| [-123.184547, 47.255692], | |
| [-123.184563, 47.255730], | |
| [-123.184586, 47.255764], | |
| [-123.184601, 47.255798], | |
| [-123.184601, 47.255798], | |
| [-123.184624, 47.255829], | |
| [-123.184647, 47.255859], | |
| [-123.184670, 47.255890], | |
| [-123.184692, 47.255917], | |
| [-123.184715, 47.255951], | |
| [-123.184738, 47.255981], | |
| [-123.184753, 47.256012], | |
| [-123.184769, 47.256042], | |
| [-123.184784, 47.256077], | |
| [-123.184784, 47.256077], | |
| [-123.184799, 47.256111], | |
| [-123.184807, 47.256142], | |
| [-123.184814, 47.256176], | |
| [-123.184822, 47.256214], | |
| [-123.184822, 47.256248], | |
| [-123.184830, 47.256283], | |
| [-123.184830, 47.256313], | |
| [-123.184830, 47.256351], | |
| [-123.184830, 47.256386], | |
| [-123.184830, 47.256386], | |
| [-123.184822, 47.256420], | |
| [-123.184814, 47.256454], | |
| [-123.184807, 47.256489], | |
| [-123.184792, 47.256523], | |
| [-123.184776, 47.256557], | |
| [-123.184761, 47.256592], | |
| [-123.184746, 47.256626], | |
| [-123.184723, 47.256660], | |
| [-123.184708, 47.256695], | |
| [-123.184708, 47.256695], | |
| [-123.184685, 47.256729], | |
| [-123.184670, 47.256763], | |
| [-123.184647, 47.256802], | |
| [-123.184624, 47.256836], | |
| [-123.184608, 47.256870], | |
| [-123.184586, 47.256908], | |
| [-123.184570, 47.256947], | |
| [-123.184563, 47.256985], | |
| [-123.184547, 47.257023], | |
| [-123.184547, 47.257023], | |
| [-123.184540, 47.257061], | |
| [-123.184540, 47.257099], | |
| [-123.184540, 47.257137], | |
| [-123.184540, 47.257175], | |
| [-123.184547, 47.257217], | |
| [-123.184555, 47.257256], | |
| [-123.184570, 47.257290], | |
| [-123.184578, 47.257332], | |
| [-123.184601, 47.257370], | |
| [-123.184616, 47.257408], | |
| [-123.184616, 47.257408], | |
| [-123.184639, 47.257446], | |
| [-123.184654, 47.257488], | |
| [-123.184677, 47.257526], | |
| [-123.184700, 47.257565], | |
| [-123.184731, 47.257603], | |
| [-123.184761, 47.257637], | |
| [-123.184792, 47.257675], | |
| [-123.184822, 47.257706], | |
| [-123.184860, 47.257740], | |
| [-123.184860, 47.257740], | |
| [-123.184906, 47.257771], | |
| [-123.184944, 47.257801], | |
| [-123.184990, 47.257828], | |
| [-123.185036, 47.257854], | |
| [-123.185081, 47.257877], | |
| [-123.185135, 47.257900], | |
| [-123.185188, 47.257923], | |
| [-123.185242, 47.257942], | |
| [-123.185295, 47.257961], | |
| [-123.185295, 47.257961], | |
| [-123.185349, 47.257977], | |
| [-123.185410, 47.257992], | |
| [-123.185463, 47.258003], | |
| [-123.185524, 47.258015], | |
| [-123.185585, 47.258026], | |
| [-123.185646, 47.258038], | |
| [-123.185707, 47.258045], | |
| [-123.185776, 47.258053], | |
| [-123.185837, 47.258057], | |
| [-123.185837, 47.258057], | |
| [-123.185905, 47.258064], | |
| [-123.185966, 47.258068], | |
| [-123.186035, 47.258072], | |
| [-123.186104, 47.258072], | |
| [-123.186172, 47.258072], | |
| [-123.186241, 47.258068], | |
| [-123.186310, 47.258068], | |
| [-123.186378, 47.258060], | |
| [-123.186447, 47.258057], | |
| [-123.186516, 47.258057], | |
| [-123.186516, 47.258057], | |
| [-123.186584, 47.258049], | |
| [-123.186653, 47.258045], | |
| [-123.186722, 47.258038], | |
| [-123.186783, 47.258034], | |
| [-123.186852, 47.258030], | |
| [-123.186920, 47.258026], | |
| [-123.186989, 47.258022], | |
| [-123.187050, 47.258018], | |
| [-123.187119, 47.258015], | |
| [-123.187119, 47.258015], | |
| [-123.187180, 47.258011], | |
| [-123.187248, 47.258011], | |
| [-123.187309, 47.258007], | |
| [-123.187378, 47.258011], | |
| [-123.187447, 47.258011], | |
| [-123.187515, 47.258011], | |
| [-123.187584, 47.258015], | |
| [-123.187645, 47.258018], | |
| [-123.187714, 47.258018], | |
| [-123.187714, 47.258018], | |
| [-123.187775, 47.258026], | |
| [-123.187843, 47.258030], | |
| [-123.187904, 47.258038], | |
| [-123.187973, 47.258045], | |
| [-123.188034, 47.258049], | |
| [-123.188095, 47.258057], | |
| [-123.188164, 47.258060], | |
| [-123.188225, 47.258068], | |
| [-123.188286, 47.258072], | |
| [-123.188286, 47.258072], | |
| [-123.188347, 47.258076], | |
| [-123.188408, 47.258083], | |
| [-123.188469, 47.258087], | |
| [-123.188530, 47.258091], | |
| [-123.188583, 47.258095], | |
| [-123.188644, 47.258095], | |
| [-123.188698, 47.258099], | |
| [-123.188759, 47.258099], | |
| [-123.188820, 47.258099], | |
| [-123.188873, 47.258102], | |
| [-123.188873, 47.258102], | |
| [-123.188934, 47.258102], | |
| [-123.188988, 47.258102], | |
| [-123.189041, 47.258106], | |
| [-123.189095, 47.258106], | |
| [-123.189148, 47.258102], | |
| [-123.189201, 47.258102], | |
| [-123.189262, 47.258102], | |
| [-123.189316, 47.258099], | |
| [-123.189362, 47.258099], | |
| [-123.189362, 47.258099], | |
| [-123.189415, 47.258095], | |
| [-123.189468, 47.258095], | |
| [-123.189522, 47.258091], | |
| [-123.189575, 47.258091], | |
| [-123.189629, 47.258091], | |
| [-123.189674, 47.258091], | |
| [-123.189728, 47.258091], | |
| [-123.189781, 47.258087], | |
| [-123.189827, 47.258087], | |
| [-123.189827, 47.258087], | |
| [-123.189880, 47.258083], | |
| [-123.189926, 47.258083], | |
| [-123.189972, 47.258080], | |
| [-123.190025, 47.258080], | |
| [-123.190063, 47.258076], | |
| [-123.190117, 47.258072], | |
| [-123.190163, 47.258068], | |
| [-123.190216, 47.258064], | |
| [-123.190262, 47.258060], | |
| [-123.190262, 47.258060], | |
| [-123.190308, 47.258057], | |
| [-123.190346, 47.258049], | |
| [-123.190392, 47.258045], | |
| [-123.190437, 47.258038], | |
| [-123.190483, 47.258026], | |
| [-123.190529, 47.258018], | |
| [-123.190575, 47.258007], | |
| [-123.190620, 47.257999], | |
| [-123.190666, 47.257992], | |
| [-123.190704, 47.257977], | |
| [-123.190704, 47.257977], | |
| [-123.190742, 47.257965], | |
| [-123.190781, 47.257950], | |
| [-123.190819, 47.257938], | |
| [-123.190849, 47.257923], | |
| [-123.190880, 47.257904], | |
| [-123.190918, 47.257889], | |
| [-123.190941, 47.257870], | |
| [-123.190971, 47.257847], | |
| [-123.190994, 47.257824], | |
| [-123.190994, 47.257824], | |
| [-123.191017, 47.257801], | |
| [-123.191040, 47.257778], | |
| [-123.191063, 47.257751], | |
| [-123.191093, 47.257729], | |
| [-123.191109, 47.257702], | |
| [-123.191132, 47.257671], | |
| [-123.191147, 47.257645], | |
| [-123.191170, 47.257614], | |
| [-123.191177, 47.257584], | |
| [-123.191177, 47.257584], | |
| [-123.191185, 47.257553], | |
| [-123.191200, 47.257526], | |
| [-123.191208, 47.257492], | |
| [-123.191216, 47.257462], | |
| [-123.191216, 47.257431], | |
| [-123.191216, 47.257397], | |
| [-123.191216, 47.257366], | |
| [-123.191208, 47.257336], | |
| [-123.191200, 47.257305], | |
| [-123.191200, 47.257305], | |
| [-123.191185, 47.257275], | |
| [-123.191177, 47.257244], | |
| [-123.191162, 47.257214], | |
| [-123.191147, 47.257179], | |
| [-123.191124, 47.257149], | |
| [-123.191101, 47.257118], | |
| [-123.191078, 47.257088], | |
| [-123.191055, 47.257057], | |
| [-123.191025, 47.257030], | |
| [-123.190994, 47.257000], | |
| [-123.190994, 47.257000], | |
| [-123.190964, 47.256973], | |
| [-123.190926, 47.256947], | |
| [-123.190887, 47.256924], | |
| [-123.190842, 47.256905], | |
| [-123.190804, 47.256882], | |
| [-123.190750, 47.256863], | |
| [-123.190704, 47.256844], | |
| [-123.190659, 47.256824], | |
| [-123.190605, 47.256809], | |
| [-123.190605, 47.256809], | |
| [-123.190552, 47.256794], | |
| [-123.190491, 47.256786], | |
| [-123.190430, 47.256775], | |
| [-123.190369, 47.256763], | |
| [-123.190308, 47.256756], | |
| [-123.190247, 47.256748], | |
| [-123.190186, 47.256748], | |
| [-123.190125, 47.256748], | |
| [-123.190063, 47.256748], | |
| [-123.190063, 47.256748], | |
| [-123.189995, 47.256748], | |
| [-123.189934, 47.256752], | |
| [-123.189865, 47.256760], | |
| [-123.189804, 47.256767], | |
| [-123.189743, 47.256775], | |
| [-123.189682, 47.256786], | |
| [-123.189621, 47.256794], | |
| [-123.189560, 47.256805], | |
| [-123.189499, 47.256821], | |
| [-123.189499, 47.256821], | |
| [-123.189438, 47.256836], | |
| [-123.189384, 47.256847], | |
| [-123.189331, 47.256863], | |
| [-123.189270, 47.256882], | |
| [-123.189217, 47.256893], | |
| [-123.189163, 47.256912], | |
| [-123.189110, 47.256931], | |
| [-123.189056, 47.256947], | |
| [-123.189003, 47.256966], | |
| [-123.188950, 47.256985], | |
| [-123.188950, 47.256985], | |
| [-123.188896, 47.257004], | |
| [-123.188843, 47.257019], | |
| [-123.188782, 47.257038], | |
| [-123.188728, 47.257053], | |
| [-123.188675, 47.257072], | |
| [-123.188622, 47.257088], | |
| [-123.188568, 47.257107], | |
| [-123.188507, 47.257122], | |
| [-123.188446, 47.257137], | |
| [-123.188446, 47.257137], | |
| [-123.188393, 47.257156], | |
| [-123.188332, 47.257168], | |
| [-123.188263, 47.257183], | |
| [-123.188202, 47.257195], | |
| [-123.188141, 47.257202], | |
| [-123.188072, 47.257210], | |
| [-123.188004, 47.257217], | |
| [-123.187935, 47.257225], | |
| [-123.187859, 47.257229], | |
| [-123.187859, 47.257229], | |
| [-123.187782, 47.257233], | |
| [-123.187706, 47.257236], | |
| [-123.187630, 47.257240], | |
| [-123.187553, 47.257240], | |
| [-123.187477, 47.257240], | |
| [-123.187393, 47.257240], | |
| [-123.187317, 47.257240], | |
| [-123.187241, 47.257240], | |
| [-123.187164, 47.257236], | |
| [-123.187164, 47.257236], | |
| [-123.187088, 47.257236], | |
| [-123.187019, 47.257229], | |
| [-123.186943, 47.257225], | |
| [-123.186882, 47.257217], | |
| [-123.186829, 47.257214], | |
| [-123.186768, 47.257206], | |
| [-123.186722, 47.257198], | |
| [-123.186668, 47.257195], | |
| [-123.186623, 47.257187], | |
| [-123.186623, 47.257187], | |
| [-123.186577, 47.257179], | |
| [-123.186531, 47.257172], | |
| [-123.186485, 47.257160], | |
| [-123.186447, 47.257149], | |
| [-123.186401, 47.257133], | |
| [-123.186363, 47.257118], | |
| [-123.186325, 47.257103], | |
| [-123.186295, 47.257084], | |
| [-123.186256, 47.257065], | |
| [-123.186226, 47.257042], | |
| [-123.186226, 47.257042], | |
| [-123.186195, 47.257023], | |
| [-123.186172, 47.256996], | |
| [-123.186150, 47.256969], | |
| [-123.186127, 47.256939], | |
| [-123.186104, 47.256912], | |
| [-123.186089, 47.256882], | |
| [-123.186073, 47.256855], | |
| [-123.186066, 47.256824], | |
| [-123.186058, 47.256794], | |
| [-123.186058, 47.256794], | |
| [-123.186050, 47.256763], | |
| [-123.186058, 47.256729], | |
| [-123.186066, 47.256695], | |
| [-123.186066, 47.256660], | |
| [-123.186073, 47.256622], | |
| [-123.186089, 47.256588], | |
| [-123.186104, 47.256554], | |
| [-123.186127, 47.256519], | |
| [-123.186150, 47.256485], | |
| [-123.186150, 47.256485], | |
| [-123.186180, 47.256451], | |
| [-123.186211, 47.256416], | |
| [-123.186241, 47.256386], | |
| [-123.186272, 47.256359], | |
| [-123.186310, 47.256329], | |
| [-123.186348, 47.256302], | |
| [-123.186394, 47.256279], | |
| [-123.186447, 47.256256], | |
| [-123.186493, 47.256233], | |
| [-123.186493, 47.256233], | |
| [-123.186546, 47.256210], | |
| [-123.186600, 47.256187], | |
| [-123.186653, 47.256165], | |
| [-123.186714, 47.256142], | |
| [-123.186775, 47.256119], | |
| [-123.186829, 47.256100], | |
| [-123.186890, 47.256077], | |
| [-123.186951, 47.256062], | |
| [-123.187012, 47.256039], | |
| [-123.187073, 47.256020], | |
| [-123.187073, 47.256020], | |
| [-123.187134, 47.256001], | |
| [-123.187202, 47.255978], | |
| [-123.187263, 47.255959], | |
| [-123.187332, 47.255939], | |
| [-123.187393, 47.255920], | |
| [-123.187462, 47.255905], | |
| [-123.187531, 47.255886], | |
| [-123.187599, 47.255867], | |
| [-123.187668, 47.255852], | |
| [-123.187668, 47.255852], | |
| [-123.187744, 47.255833], | |
| [-123.187813, 47.255821], | |
| [-123.187889, 47.255806], | |
| [-123.187958, 47.255795], | |
| [-123.188026, 47.255779], | |
| [-123.188103, 47.255772], | |
| [-123.188171, 47.255760], | |
| [-123.188240, 47.255749], | |
| [-123.188316, 47.255741], | |
| [-123.188316, 47.255741], | |
| [-123.188385, 47.255733], | |
| [-123.188454, 47.255730], | |
| [-123.188522, 47.255726], | |
| [-123.188599, 47.255726], | |
| [-123.188667, 47.255726], | |
| [-123.188744, 47.255722], | |
| [-123.188820, 47.255722], | |
| [-123.188889, 47.255726], | |
| [-123.188965, 47.255733], | |
| [-123.188965, 47.255733], | |
| [-123.189034, 47.255737], | |
| [-123.189110, 47.255745], | |
| [-123.189178, 47.255756], | |
| [-123.189255, 47.255768], | |
| [-123.189331, 47.255783], | |
| [-123.189407, 47.255798], | |
| [-123.189484, 47.255821], | |
| [-123.189552, 47.255840], | |
| [-123.189629, 47.255863], | |
| [-123.189705, 47.255882], | |
| [-123.189705, 47.255882], | |
| [-123.189774, 47.255905], | |
| [-123.189850, 47.255932], | |
| [-123.189926, 47.255959], | |
| [-123.189995, 47.255985], | |
| [-123.190071, 47.256008], | |
| [-123.190140, 47.256039], | |
| [-123.190216, 47.256065], | |
| [-123.190285, 47.256092], | |
| [-123.190361, 47.256119], | |
| [-123.190361, 47.256119], | |
| [-123.190437, 47.256149], | |
| [-123.190514, 47.256176], | |
| [-123.190582, 47.256203], | |
| [-123.190659, 47.256233], | |
| [-123.190727, 47.256260], | |
| [-123.190804, 47.256287], | |
| [-123.190865, 47.256313], | |
| [-123.190941, 47.256344], | |
| [-123.191010, 47.256374], | |
| [-123.191010, 47.256374], | |
| [-123.191078, 47.256405], | |
| [-123.191147, 47.256439], | |
| [-123.191216, 47.256474], | |
| [-123.191284, 47.256508], | |
| [-123.191353, 47.256542], | |
| [-123.191414, 47.256577], | |
| [-123.191483, 47.256615], | |
| [-123.191551, 47.256653], | |
| [-123.191612, 47.256695], | |
| [-123.191612, 47.256695], | |
| [-123.191673, 47.256737], | |
| [-123.191742, 47.256779], | |
| [-123.191803, 47.256824], | |
| [-123.191864, 47.256870], | |
| [-123.191917, 47.256920], | |
| [-123.191971, 47.256962], | |
| [-123.192024, 47.257011], | |
| [-123.192078, 47.257061], | |
| [-123.192131, 47.257111], | |
| [-123.192177, 47.257160], | |
| [-123.192177, 47.257160], | |
| [-123.192230, 47.257206], | |
| [-123.192284, 47.257256], | |
| [-123.192329, 47.257305], | |
| [-123.192375, 47.257351], | |
| [-123.192421, 47.257397], | |
| [-123.192474, 47.257439], | |
| [-123.192520, 47.257481], | |
| [-123.192566, 47.257523], | |
| [-123.192619, 47.257561], | |
| [-123.192619, 47.257561], | |
| [-123.192665, 47.257603], | |
| [-123.192703, 47.257637], | |
| [-123.192749, 47.257675], | |
| [-123.192795, 47.257706], | |
| [-123.192833, 47.257740], | |
| [-123.192879, 47.257767], | |
| [-123.192917, 47.257793], | |
| [-123.192955, 47.257820], | |
| [-123.192993, 47.257843], | |
| [-123.192993, 47.257843], | |
| [-123.193031, 47.257862], | |
| [-123.193062, 47.257881], | |
| [-123.193108, 47.257900], | |
| [-123.193146, 47.257916], | |
| [-123.193176, 47.257927], | |
| [-123.193222, 47.257938], | |
| [-123.193260, 47.257946], | |
| [-123.193298, 47.257950], | |
| [-123.193336, 47.257950], | |
| [-123.193336, 47.257950], | |
| [-123.193375, 47.257950], | |
| [-123.193413, 47.257946], | |
| [-123.193451, 47.257942], | |
| [-123.193489, 47.257935], | |
| [-123.193527, 47.257923], | |
| [-123.193565, 47.257908], | |
| [-123.193596, 47.257893], | |
| [-123.193619, 47.257874], | |
| [-123.193649, 47.257851], | |
| [-123.193672, 47.257824], | |
| [-123.193672, 47.257824], | |
| [-123.193695, 47.257801], | |
| [-123.193710, 47.257771], | |
| [-123.193718, 47.257740], | |
| [-123.193726, 47.257713], | |
| [-123.193741, 47.257683], | |
| [-123.193741, 47.257648], | |
| [-123.193748, 47.257618], | |
| [-123.193741, 47.257584], | |
| [-123.193733, 47.257553], | |
| [-123.193733, 47.257553], | |
| [-123.193718, 47.257519], | |
| [-123.193703, 47.257484], | |
| [-123.193687, 47.257450], | |
| [-123.193665, 47.257420], | |
| [-123.193642, 47.257385], | |
| [-123.193619, 47.257351], | |
| [-123.193596, 47.257320], | |
| [-123.193573, 47.257286], | |
| [-123.193542, 47.257252], | |
| [-123.193542, 47.257252], | |
| [-123.193512, 47.257217], | |
| [-123.193474, 47.257183], | |
| [-123.193443, 47.257145], | |
| [-123.193413, 47.257107], | |
| [-123.193375, 47.257069], | |
| [-123.193344, 47.257030], | |
| [-123.193306, 47.256989], | |
| [-123.193275, 47.256947], | |
| [-123.193237, 47.256908], | |
| [-123.193199, 47.256863], | |
| [-123.193199, 47.256863], | |
| [-123.193161, 47.256821], | |
| [-123.193123, 47.256779], | |
| [-123.193085, 47.256737], | |
| [-123.193047, 47.256695], | |
| [-123.193016, 47.256653], | |
| [-123.192978, 47.256615], | |
| [-123.192947, 47.256577], | |
| [-123.192917, 47.256538], | |
| [-123.192886, 47.256500], | |
| [-123.192886, 47.256500], | |
| [-123.192863, 47.256462], | |
| [-123.192841, 47.256428], | |
| [-123.192825, 47.256393], | |
| [-123.192802, 47.256363], | |
| [-123.192787, 47.256329], | |
| [-123.192780, 47.256298], | |
| [-123.192772, 47.256268], | |
| [-123.192772, 47.256237], | |
| [-123.192772, 47.256210], | |
| [-123.192772, 47.256210], | |
| [-123.192780, 47.256180], | |
| [-123.192795, 47.256153], | |
| [-123.192810, 47.256126], | |
| [-123.192825, 47.256100], | |
| [-123.192848, 47.256073], | |
| [-123.192871, 47.256050], | |
| [-123.192902, 47.256027], | |
| [-123.192940, 47.256008], | |
| [-123.192978, 47.255985], | |
| [-123.192978, 47.255985], | |
| [-123.193016, 47.255966], | |
| [-123.193069, 47.255947], | |
| [-123.193115, 47.255928], | |
| [-123.193169, 47.255913], | |
| [-123.193222, 47.255898], | |
| [-123.193275, 47.255886], | |
| [-123.193329, 47.255875], | |
| [-123.193382, 47.255867], | |
| [-123.193443, 47.255859], | |
| [-123.193497, 47.255852], | |
| [-123.193497, 47.255852], | |
| [-123.193558, 47.255844], | |
| [-123.193626, 47.255840], | |
| [-123.193687, 47.255836], | |
| [-123.193756, 47.255833], | |
| [-123.193825, 47.255829], | |
| [-123.193893, 47.255829], | |
| [-123.193970, 47.255829], | |
| [-123.194038, 47.255829], | |
| [-123.194115, 47.255829], | |
| [-123.194115, 47.255829], | |
| [-123.194191, 47.255833], | |
| [-123.194267, 47.255833], | |
| [-123.194344, 47.255836], | |
| [-123.194427, 47.255836], | |
| [-123.194511, 47.255840], | |
| [-123.194588, 47.255844], | |
| [-123.194672, 47.255848], | |
| [-123.194756, 47.255852], | |
| [-123.194839, 47.255856], | |
| [-123.194839, 47.255856], | |
| [-123.194923, 47.255859], | |
| [-123.195007, 47.255863], | |
| [-123.195091, 47.255863], | |
| [-123.195175, 47.255863], | |
| [-123.195251, 47.255867], | |
| [-123.195343, 47.255867], | |
| [-123.195419, 47.255871], | |
| [-123.195503, 47.255871], | |
| [-123.195587, 47.255875], | |
| [-123.195587, 47.255875], | |
| [-123.195663, 47.255875], | |
| [-123.195747, 47.255878], | |
| [-123.195824, 47.255878], | |
| [-123.195900, 47.255878], | |
| [-123.195976, 47.255878], | |
| [-123.196060, 47.255882], | |
| [-123.196136, 47.255882], | |
| [-123.196213, 47.255882], | |
| [-123.196289, 47.255882], | |
| [-123.196289, 47.255882], | |
| [-123.196365, 47.255882], | |
| [-123.196442, 47.255882], | |
| [-123.196518, 47.255886], | |
| [-123.196594, 47.255886], | |
| [-123.196671, 47.255890], | |
| [-123.196747, 47.255890], | |
| [-123.196823, 47.255890], | |
| [-123.196899, 47.255890], | |
| [-123.196976, 47.255890], | |
| [-123.197044, 47.255890], | |
| [-123.197044, 47.255890], | |
| [-123.197121, 47.255890], | |
| [-123.197189, 47.255890], | |
| [-123.197258, 47.255890], | |
| [-123.197334, 47.255890], | |
| [-123.197403, 47.255890], | |
| [-123.197472, 47.255890], | |
| [-123.197540, 47.255890], | |
| [-123.197601, 47.255890], | |
| [-123.197662, 47.255890], | |
| [-123.197662, 47.255890], | |
| [-123.197723, 47.255890], | |
| [-123.197777, 47.255890], | |
| [-123.197830, 47.255890], | |
| [-123.197876, 47.255886], | |
| [-123.197922, 47.255886], | |
| [-123.197960, 47.255882], | |
| [-123.197998, 47.255878], | |
| [-123.198036, 47.255878], | |
| [-123.198067, 47.255875], | |
| [-123.198067, 47.255875], | |
| [-123.198105, 47.255867], | |
| [-123.198135, 47.255863], | |
| [-123.198166, 47.255856], | |
| [-123.198189, 47.255852], | |
| [-123.198212, 47.255836], | |
| [-123.198235, 47.255825], | |
| [-123.198250, 47.255814], | |
| [-123.198265, 47.255798], | |
| [-123.198273, 47.255783], | |
| [-123.198288, 47.255768], | |
| [-123.198288, 47.255768], | |
| [-123.198288, 47.255745], | |
| [-123.198288, 47.255733], | |
| [-123.198288, 47.255711], | |
| [-123.198288, 47.255688], | |
| [-123.198288, 47.255669], | |
| [-123.198273, 47.255650], | |
| [-123.198265, 47.255630], | |
| [-123.198242, 47.255615], | |
| [-123.198227, 47.255596], | |
| [-123.198227, 47.255596], | |
| [-123.198212, 47.255581], | |
| [-123.198196, 47.255562], | |
| [-123.198174, 47.255547], | |
| [-123.198151, 47.255524], | |
| [-123.198128, 47.255505], | |
| [-123.198112, 47.255482], | |
| [-123.198097, 47.255459], | |
| [-123.198082, 47.255436], | |
| [-123.198067, 47.255413], | |
| [-123.198067, 47.255413], | |
| [-123.198059, 47.255383], | |
| [-123.198051, 47.255360], | |
| [-123.198051, 47.255333], | |
| [-123.198051, 47.255306], | |
| [-123.198051, 47.255280], | |
| [-123.198059, 47.255253], | |
| [-123.198067, 47.255230], | |
| [-123.198082, 47.255203], | |
| [-123.198097, 47.255180], | |
| [-123.198097, 47.255180], | |
| [-123.198120, 47.255161], | |
| [-123.198143, 47.255138], | |
| [-123.198174, 47.255119], | |
| [-123.198212, 47.255104], | |
| [-123.198242, 47.255085], | |
| [-123.198280, 47.255074], | |
| [-123.198318, 47.255058], | |
| [-123.198364, 47.255047], | |
| [-123.198410, 47.255035], | |
| [-123.198410, 47.255035], | |
| [-123.198448, 47.255024], | |
| [-123.198494, 47.255016], | |
| [-123.198532, 47.255009], | |
| [-123.198578, 47.255001], | |
| [-123.198624, 47.254997], | |
| [-123.198669, 47.254993], | |
| [-123.198715, 47.254982], | |
| [-123.198753, 47.254974], | |
| [-123.198792, 47.254963], | |
| [-123.198830, 47.254951], | |
| [-123.198830, 47.254951], | |
| [-123.198868, 47.254940], | |
| [-123.198898, 47.254925], | |
| [-123.198929, 47.254906], | |
| [-123.198959, 47.254887], | |
| [-123.198982, 47.254868], | |
| [-123.198998, 47.254845], | |
| [-123.199020, 47.254818], | |
| [-123.199036, 47.254795], | |
| [-123.199051, 47.254768], | |
| [-123.199051, 47.254768], | |
| [-123.199059, 47.254749], | |
| [-123.199059, 47.254726], | |
| [-123.199059, 47.254700], | |
| [-123.199051, 47.254673], | |
| [-123.199043, 47.254650], | |
| [-123.199028, 47.254623], | |
| [-123.199013, 47.254601], | |
| [-123.198990, 47.254578], | |
| [-123.198967, 47.254559], | |
| [-123.198967, 47.254559], | |
| [-123.198952, 47.254536], | |
| [-123.198929, 47.254517], | |
| [-123.198906, 47.254501], | |
| [-123.198875, 47.254482], | |
| [-123.198845, 47.254467], | |
| [-123.198807, 47.254452], | |
| [-123.198769, 47.254440], | |
| [-123.198723, 47.254429], | |
| [-123.198677, 47.254425], | |
| [-123.198677, 47.254425], | |
| [-123.198631, 47.254421], | |
| [-123.198578, 47.254417], | |
| [-123.198532, 47.254414], | |
| [-123.198479, 47.254417], | |
| [-123.198433, 47.254421], | |
| [-123.198380, 47.254425], | |
| [-123.198334, 47.254436], | |
| [-123.198280, 47.254452], | |
| [-123.198227, 47.254467], | |
| [-123.198174, 47.254482], | |
| [-123.198174, 47.254482], | |
| [-123.198128, 47.254501], | |
| [-123.198074, 47.254517], | |
| [-123.198021, 47.254539], | |
| [-123.197960, 47.254559], | |
| [-123.197906, 47.254578], | |
| [-123.197845, 47.254597], | |
| [-123.197784, 47.254616], | |
| [-123.197716, 47.254635], | |
| [-123.197647, 47.254650], | |
| [-123.197647, 47.254650], | |
| [-123.197578, 47.254669], | |
| [-123.197510, 47.254684], | |
| [-123.197433, 47.254700], | |
| [-123.197365, 47.254715], | |
| [-123.197289, 47.254723], | |
| [-123.197220, 47.254734], | |
| [-123.197144, 47.254742], | |
| [-123.197067, 47.254753], | |
| [-123.196991, 47.254757], | |
| [-123.196991, 47.254757], | |
| [-123.196907, 47.254765], | |
| [-123.196831, 47.254768], | |
| [-123.196747, 47.254772], | |
| [-123.196663, 47.254772], | |
| [-123.196571, 47.254776], | |
| [-123.196487, 47.254780], | |
| [-123.196404, 47.254780], | |
| [-123.196312, 47.254780], | |
| [-123.196220, 47.254780], | |
| [-123.196220, 47.254780], | |
| [-123.196129, 47.254780], | |
| [-123.196037, 47.254780], | |
| [-123.195938, 47.254776], | |
| [-123.195847, 47.254776], | |
| [-123.195747, 47.254772], | |
| [-123.195648, 47.254772], | |
| [-123.195549, 47.254768], | |
| [-123.195442, 47.254768], | |
| [-123.195343, 47.254765], | |
| [-123.195244, 47.254761], | |
| [-123.195244, 47.254761], | |
| [-123.195145, 47.254757], | |
| [-123.195045, 47.254757], | |
| [-123.194939, 47.254753], | |
| [-123.194839, 47.254753], | |
| [-123.194733, 47.254749], | |
| [-123.194633, 47.254745], | |
| [-123.194527, 47.254745], | |
| [-123.194427, 47.254742], | |
| [-123.194321, 47.254742], | |
| [-123.194321, 47.254742], | |
| [-123.194214, 47.254742], | |
| [-123.194107, 47.254738], | |
| [-123.194000, 47.254734], | |
| [-123.193893, 47.254730], | |
| [-123.193787, 47.254730], | |
| [-123.193672, 47.254726], | |
| [-123.193565, 47.254726], | |
| [-123.193451, 47.254723], | |
| [-123.193336, 47.254719], | |
| [-123.193336, 47.254719], | |
| [-123.193222, 47.254715], | |
| [-123.193108, 47.254715], | |
| [-123.192993, 47.254711], | |
| [-123.192879, 47.254707], | |
| [-123.192757, 47.254707], | |
| [-123.192642, 47.254704], | |
| [-123.192528, 47.254704], | |
| [-123.192413, 47.254704], | |
| [-123.192291, 47.254704], | |
| [-123.192291, 47.254704], | |
| [-123.192177, 47.254704], | |
| [-123.192062, 47.254704], | |
| [-123.191940, 47.254704], | |
| [-123.191826, 47.254700], | |
| [-123.191704, 47.254700], | |
| [-123.191582, 47.254696], | |
| [-123.191460, 47.254696], | |
| [-123.191345, 47.254692], | |
| [-123.191216, 47.254692], | |
| [-123.191216, 47.254692], | |
| [-123.191093, 47.254688], | |
| [-123.190971, 47.254688], | |
| [-123.190849, 47.254688], | |
| [-123.190720, 47.254684], | |
| [-123.190598, 47.254681], | |
| [-123.190468, 47.254681], | |
| [-123.190346, 47.254677], | |
| [-123.190216, 47.254677], | |
| [-123.190086, 47.254677], | |
| [-123.189964, 47.254673], | |
| [-123.189964, 47.254673], | |
| [-123.189835, 47.254669], | |
| [-123.189705, 47.254669], | |
| [-123.189583, 47.254665], | |
| [-123.189453, 47.254662], | |
| [-123.189331, 47.254662], | |
| [-123.189201, 47.254658], | |
| [-123.189079, 47.254654], | |
| [-123.188957, 47.254654], | |
| [-123.188835, 47.254650], | |
| [-123.188835, 47.254650], | |
| [-123.188713, 47.254650], | |
| [-123.188591, 47.254646], | |
| [-123.188469, 47.254646], | |
| [-123.188347, 47.254642], | |
| [-123.188232, 47.254642], | |
| [-123.188110, 47.254639], | |
| [-123.187996, 47.254639], | |
| [-123.187782, 47.254658] | |
| ] | |
| } | |
| } | |
| ]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment