Commit Graph

20 Commits

Author SHA1 Message Date
4cdcdb5ef5 Fix dangling comma in examples 2020-02-26 11:11:06 +01:00
8c9b7a75d6 typo in openmaptiles API key 2019-11-29 14:24:33 +01:00
5d6f31ee5c Rotate API keys for openmaptiles; update npm deps 2019-07-16 12:09:00 +02:00
13315057d2 Update docs to latest version of Leaflet, tidy up code (#152) 2018-03-10 17:34:14 +01:00
e0a45e8718 Prevent uneccessary tile requests going out and being processed on response (#151)
* WIP towards not stopping and not using unecessary requests

* Preflight prevention of fetches & response work reduction for missmatched zooms

* Also take into account bounds when checking to make requests

* Update vectortiles example
2018-03-10 16:49:45 +01:00
b8d573a222 Pass feat.type (geometry dimension) in styleOptions (#130)
* Pass feature type into styleOptions

This then allows differentiation of styles with the same VT layer name.
Discussed here: https://github.com/Leaflet/Leaflet.VectorGrid/issues/125

* Document passing geometry type into style function

* Allow array return value of style function to contain functions, not just sets of L.Path options

* Tab indents

* Change terminology (type > geometry dimension"

* Use camelCase for geometryDimension

* Revert return function in array

* Change geometryDimension example code
2018-03-10 11:15:48 +01:00
0ae56b3795 Change mapzen to nextzen in vector tiles demo page (#143)
Fixes: #142
2018-02-06 11:21:38 +01:00
bb53b736fd Switch the vector tiles in the points demo from mapbox to openmaptiles. Should decrease the money charges. 2017-04-26 11:30:21 +02:00
077e19650e Rotate mapbox tokens 2017-02-20 13:17:28 +01:00
d6c3cfc266 Add some esri basemaps to the protobuf demo, just because. 2017-02-17 18:07:53 +01:00
1f6a552f28 Fix link to JS libs from demo, update readme about mapzen 2017-02-17 17:20:43 +01:00
bdce502816 Add a mapzen vector tiles example to the protobuf demo 2017-02-17 17:18:27 +01:00
6d59624871 Fix title in protobuf demo 2017-02-17 16:03:10 +01:00
d3a0672159 Make OpenMapTiles work in the protobuf tiles demo 2017-02-17 15:30:28 +01:00
a731c0c468 Fix <script> tag in protobuf tiles demo 2017-02-17 15:10:55 +01:00
0bee167e10 For some weird reason I mistakenly deleted the protobuf demo 2017-02-17 14:57:08 +01:00
99eb2fd970 Build docs with leafdoc, upload built docs, move stuff from README to docs 2017-02-17 14:02:35 +01:00
340ad416b2 Fix links in README.md, fix lib refs in demos 2017-02-17 10:36:48 +01:00
8c512f40a8 Forgot to move some files from demo/ to docs/ 2017-02-17 10:27:12 +01:00
97dd189b5b Move demo/ to docs/ to get rid of the gh-pages branch 2017-02-17 10:25:21 +01:00