This GIST provides an example of a Google Maps map with an OL3 map as control, to give users a Google base map with OL3 content on top.
Open the corresponding bl.ock to view the example in your browser.
This GIST provides an example of a Google Maps map with an OL3 map as control, to give users a Google base map with OL3 content on top.
Open the corresponding bl.ock to view the example in your browser.
<html> | |
<body> | |
<h1>Minimal WebWorker example</h1> | |
<p>Look in the console!</p> | |
<script src="main.js"></script> | |
</body> | |
</html> |
Often time series charts can be enhanced by shaded blocks to highlight events or periods as shown by this example which uses the R package xtsExtra. Vega specs already allow this functionality, and it is fairly easy to implement.
I added an events object to the JSON data array.
{
"name": "events",
"values": [
{"name":"Test1", "start":"Apr 2000", "end":"Mar 2003"},
height: 600 |
hg clone https://bitbucket.org/tiax/bitbucket-issues-cli # Fork repo with support for Git on Bitbucket | |
cd bitbucket-issues-cli | |
hg patch ../patch-bitbucket-issues-cli-1 |
An example of LeafletJS using OpenStreetMap tiles and the Markers API (use the same API signature as Mapbox Markers API). You can define your own marker styles using the options outlined in simplestyle-spec, including all Maki icons.
/node_modules/ | |
bundle.js |
This simple line chart is constructed from a TSV file storing the closing value of AAPL stock over the last few years. The chart employs conventional margins and a number of D3 features:
This also uses simple-statistics to derive a linear regression of the price changes.
Example to ilustrate this question at gis.stackoverflow.
We choose to replace Turf with JSTS.
If the result is more complex (i.e. the resulting intersection is a polyline), the algorithm should be repeated for each part in the polygon.