Commit Graph

287 Commits

Author SHA1 Message Date
Per Liedman
013198c9e2 Change copyright year from 2015 to 2017 (#5433) 2017-04-07 13:34:14 +03:00
Iván Sánchez Ortega
61ff641951 Add new class L.VideoOverlay (#4988)
* Add VideoOverlay class based on ImageOverlay

* Make linter happy

* Move VideoOverlay include to layer/index

* Fix mapbox tokens
2017-04-04 22:45:09 +02:00
Iván Sánchez Ortega
79ab486dde WIP: Tutorial about zooming. (#5007)
* Add tutorial about zooming.

* Punctuation fixes
2017-04-04 22:04:46 +02:00
Dan Turkel
b80b2e4f99 Escape html elements inside code sample (#5432)
The markup renderer will still literally render html tags inside "pre" and "code" unless they're escaped. The result was that the example code would be rendered as:
var baseMaps = {
	"Grayscale": grayscale,
	"Streets": streets
};
rather than
var baseMaps = {
	"<span style='color: gray'>Grayscale</span>": grayscale,
	"Streets": streets
};
because the "Grayscale" text would be literally styled as a span with gray color, and then recolored by the syntax highlighter.

Escaping the span tags fixes this.
2017-04-04 21:31:36 +02:00
Bert Spaan
9baeb34dae Added Leaflet.GeotagPhoto to list of plugins (#5424)
* Added Leaflet.GeotagPhoto

* removed "Leaflet"
2017-03-29 15:23:14 +02:00
Dave Leaver
f044a45477 Fixing english 2017-03-27 13:14:09 +13:00
geografa
ca288ddc07 makes gender neutral (#5405) 2017-03-23 00:15:20 +02:00
Yuzo Matsuzawa
edaedb6f56 Add Leaflet.TileLayer.ColorPicker to plugins list (#5398)
Leaflet.TileLayer.ColoPicker adds getColor(latLng) to TileLayer. It will be useful when you just want to pick a color (or elevation encoded as color) from displaying tile.

color picker demo: <https://frogcat.github.io/leaflet-tilelayer-colorpicker/>
elevation picker demo: <https://frogcat.github.io/leaflet-tilelayer-colorpicker/mapbox-terrain-rgb.html>
2017-03-21 09:33:32 +01:00
PPete
087d14170f Plugins: add "Leaflet.PolylineMeasure" (#5394)
* Update plugins.md

* Update plugins.md

* Update plugins.md
2017-03-20 10:05:46 +01:00
geoloep
25014b8825 Plugins: Add Leaflet.ClickTolerance (#5374) 2017-03-07 12:24:04 +01:00
8to5Developer
3b4dcbcd2b Plugins: add leaftlet-custom-searchbox (#5363)
Extended the "search & popup" section with the details of the new "leaftlet-custom-searchbox" plugin.
2017-03-01 10:10:59 +01:00
Thomas Brüggemann
c9fbf54570 Plugins: update boat marker links and text (#5347) 2017-02-20 10:03:04 +01:00
Benjamin J DeLong
7c2aafa58c Plugins: Fix to link to "3rd party" category (#5344) 2017-02-18 15:16:22 +01:00
Flávio Carmo
893ebf5613 plugins: Add Leaflet.Zoominfo (#5336)
* Add Leaflet.Zoominfo plugin

* Update plugins.md
2017-02-16 10:27:29 +01:00
Lyzi Diamond
7391e308cc rotate access tokens (#5338) 2017-02-16 09:44:50 +02:00
Tariq Soliman
fe496a2b2d Docs: remove iframe borders on examples (#5327) 2017-02-13 11:01:38 +01:00
Madis Allikmaa
59298a72d0 Docstrings: Fix popup "autoClose" and "closeOnClick" options, fixes #5040 (#5304)
* Fix popup "autoClose" and "closeOnClick" options documentation, fixes #5040

* Docstring for Popup `closeOnClick` option

* Backticks on docstrings
2017-02-07 16:24:36 +01:00
Uzerus
cab880d4d8 type attribute not required in HTML5 2017-02-06 20:32:50 +01:00
Brandon XIANG
a58a28a9a0 Plugins: Add leaflet.marker.highlight (#5312) 2017-02-06 09:44:06 +01:00
Rowan Winsemius
d10f3ca317 Plugins: Add leaflet-easyPrint (#5296) 2017-02-01 12:11:03 +01:00
Jan Pieter Waagmeester
02b263af52 Plugins: Add leaflet-clonelayer (#5291)
repo: https://github.com/jieter/leaflet-clonelayer
2017-01-31 16:46:05 +01:00
Vladimir Agafonkin
703ae02aa8 ES6 modules & Rollup (#4989)
* WIP ES6 modules & rollup

* WIP ES6 modules & rollup 2

* WIP ES6 modules & rollup 3

* WIP ES6 modules Browser

* WIP ES6 module fixes

* WIP ES6 modules: simpler browser exports

* WIP ES6: refactor CRS/Projection modules, CRS obj -> CRS.Base

* get rid of unnecessary index.js

* WIP ES6 modules, dom events and stuff

* Make linter happy, rollup to dist/

* revert to CRS namespace/class for now

* WIP rollup: export more stuff

* export controls

* rollup: export Layer

* rollup: export DomEvent

* rollup: export more layer types

* rollup: export Popup/Tooltip

* WIP: ES6-ify marker, icon, domutil, draggable.

* ES6-ify gridlayer, tilelayer.

* ES6-ify: Tweak imports-exports, code is now runnable!!

* ES6-ify: Fix scope in some DomUtils

* ES6-ify: Path, fix Popup

* ES6-ify: Lint & cleanup

* ES6-ify map handlers, more linting

* ES6-ify: Icon.Default namespacing

* ES6-ify: Renderers, CircleMarker

* ES6-ify: Circle, Polyline, LineUtil

* ES6-ify: Polygon, Rectangle, LineUtil, PolyUtil, linting

* ES6-ify: SVG.VML

* ES6-ify: DomEvent.Pointer, DomEvent.DoubleTap

* ES6-ify: Linting, make Karma play nice with Rollup

* ES6-ify: More work on fixing bits breaking some unit tests.

* ES6-ify: rollup the version number, fiddled with build scripts

* ES6-ify: Fiddle with test scripts

* ES6-ify: cleanup (refs to global L, imports from (DOM)Util), prevent cyclic loop on Map imports

* ES6-ify: More cleanup of (DOM)Util/Browser/DomEvent imports

* ES6ify: Use rollup's "legacy" option for ES3 (IE8) builds

* ES6-ify: Clean up build scripts, fix CONTRIBUTING.md instructions

* Typo

* ES6-ify: minor fixes and lefovers after rebasing on top of 1.0.2

* ES6-ify: upgrade to rollup 0.38 for proper IE8 builds, fix L.SVG.VML

* Make linter happy.

* ES6: Fixing typos and sxrew-ups after big rebase

* Fix symlink for debugging scripts

* ES6: Cleanup old build scripts

* ES6-ify: Update build system to include git rev in L.version

* ES6-ify: re-enable unit tests replacing L.Path with L.Polyline

* Export Path

* ES6ify: cleanup old banner file

* ES6-ify: whitespace in var declarations

* ES6-ify: Export toTransformation as L.transformation

* ES6-ify: cleanup L.transform exports

* ES6-ify: "import Util" in Transformation and SVG.VML
2017-01-30 11:35:16 +01:00
Jan Pieter Waagmeester
60d1f78977 Remove MapQuest from leaflet-providers description (#5286) 2017-01-28 12:21:33 +01:00
Vladimir Agafonkin
174e693912 fix badge 1.0.3 blog link 2017-01-23 18:05:46 +02:00
Iván Sánchez Ortega
bfc3092e9c Blog post for v1.0.3 release (#5275)
* Blog post for v1.0.3 release

* Update blog link in front page

* Remove badge for 1.0.0 announcement
2017-01-23 18:02:02 +02:00
Iván Sánchez Ortega
03e4116e5f Update API reference (and links) to 1.0.3. (#5276) 2017-01-23 17:50:21 +02:00
Iván Sánchez Ortega
1cc4660d98 Changelog for 1.0.3, version bump. (#5274)
* Changelog for 1.0.3, version bump.

* Fix 1.0.3 release date
2017-01-23 12:16:07 +01:00
Sylvenas
f8bcccc24f Plugins: add magicmarker
add magicMarker plugin
2017-01-20 09:13:35 +01:00
Sylvenas
7ea3ab8888 Plugins: add migrationLayer (#5261) 2017-01-17 10:19:42 +01:00
Yiğit Yüce
bc3270177e Plugins: Add L.Control.Custom (#5240) 2017-01-10 09:38:57 +01:00
Jason
ea7900ad62 Plugins: Add Leaflet.LinearMeasurement (#5239)
I added a plug in to the measurement section.  https://github.com/NLTGit/Leaflet.LinearMeasurement  Let me know what additional steps are required for this to go live.  Feedback on the tool is encouraged and welcome!
2017-01-10 09:37:01 +01:00
Grigory Golikov
a1c1ea214f Add Leaflet.Viewpoint to plugins list (#5219) 2017-01-03 13:22:50 +02:00
Yet Another Fred
3c1c14f64f Plugins: Add leaflet-responsive-popup (#5203)
* Add leaflet-responsive-popup to plugins page

* simplify leaflet-responsive-popup description
2016-12-18 11:43:17 +01:00
Mark Lee
7c96246044 docs: fix quick start link in mobile tutorial (#5192) 2016-12-15 09:43:30 +01:00
jasonoverland
b1c2e99c1f docstrings: Correct polygon & polyline examples (#5161) 2016-12-07 09:35:20 +01:00
Zakaria Amine
d760505483 Plugins: Added gwty-leaflet project to Integrations section (#5143) 2016-12-01 13:38:44 +01:00
b_b
cf6fa4f468 Plugins: update shramov's description (#5155) 2016-12-01 12:58:18 +01:00
Jack
e0f80e0e1a Plugins: Add routing.amap (#5133)
* This is a routing implementation from AMap(高德地图),you need set a location points and key,Leaflet.Routing.Amap will generates colorful route. Because of most china map use unique Projection , include AMap, this should be attention.so I import Project class for projection transform.

* English grammar for L.Routing.Amap
2016-11-23 10:15:50 +01:00
Richard Fairhurst
b90e6685c2 Docs: Use openstreetmap.org, not osm.org (#5130)
* Use openstreetmap.org, not osm.org

osm.org is a convenience redirect for typing into your browser URL bar, and not an officially supported services endpoint (for example, it doesn't have the SSL certificates you might otherwise expect)

* Update reference-1.0.2.html

* Update TileLayer.js
2016-11-22 17:39:48 +01:00
Iván Sánchez Ortega
65102bc4d1 Website updates for 1.0.2, version bump (#5123) 2016-11-21 12:33:57 +01:00
Iván Sánchez Ortega
232f5b6cf8 Plugins: Fix name 2016-11-21 09:23:22 +01:00
Craig Barnes
f3ba107531 Plugins: fix link URL (#5121)
The embedding of Markdown text within an outer, raw HTML block was
causing it to be rendered literally.
2016-11-21 09:22:17 +01:00
Iván Sánchez Ortega
0be6ee89da Plugins: add Leaflet.TileLayer.MBTiles 2016-11-16 15:53:58 +01:00
Iván Sánchez Ortega
8437311e17 Plugins: Add Vaadin framework component 2016-11-15 14:40:01 +01:00
Lazarev Alexandr
4a75faf2ef tutorials: Fixed broken relative links (#5099)
* Fixed broken realtive links

* Fixed links

* Convert relative link to ./

* Convert relative link to ./
2016-11-15 10:41:38 +01:00
Iván Sánchez Ortega
d110f448cd Plugins: Remove Mandelbrot.GL and add TileLayer.GL 2016-10-29 23:14:55 +02:00
Jack Reed
0b5c12fd65 Removes an incorrect semicolon (#5060) 2016-10-28 08:11:59 +02:00
commenthol
9fd0ba15b7 leaflet-rastercoords (#5038) 2016-10-25 15:18:53 +03:00
Kenta Hakoishi
cf71ebaf51 Plugins: Add Leaflet.LabelTextCollision (#5042)
* Update plugins.md

Add Leaflet.LabelTextCollision to the list of plugins in docs

* grammar fixes
2016-10-24 11:22:06 +02:00
Jouke Witteveen
814fe5dab4 Fix language (#5023)
These struck me when reading the controls section.
2016-10-20 15:49:29 +03:00
John Muccigrosso
d135fc4527 Fix language (#5022)
1. Improve some of the language to be more readable
2. Correct reference to night style base map, which isn't actually used
3. Add detail that it's possible to style the text in the control
2016-10-20 15:48:48 +03:00
Mikhail Shilkov
92ec6a0d4b Add leaflet-corridor to the list of plugins in docs 2016-10-15 23:36:21 +02:00
Per Liedman
08a140fc30 Add plugin Leaflet Touch Helper 2016-10-14 14:04:01 +02:00
Per Liedman
17f1815005 Add plugin Leaflet Measure Path 2016-10-14 13:54:30 +02:00
Iván Sánchez Ortega
d40d82a226 Docs: Add the plugin tutorials from #4356 (#4854)
* Docs: Add the plugin tutorials from #4356

* Include ImageOverlay in class diagram
2016-10-07 16:45:02 +02:00
Adam Roberts
fd438cb277 Plugins: addition of Leaflet.CondensedAttribution (#5006) 2016-10-06 18:10:46 +02:00
Sumit Kumar
c2330c7ce6 Updated leaflet.pm description (#4990) 2016-10-01 22:02:57 +03:00
Michal Haták
7ec434e505 docs:plugins.md: add Leaflet-gplaces-autocomplete (#4949) 2016-09-30 16:44:03 +02:00
Dan Brown
4c8aff03fd add link to "leaflet-betterscale" (#4987)
This is a more GIS-like scale bar with alternating black/white bars.
2016-09-30 17:40:40 +03:00
Iván Sánchez Ortega
c7a129ba9c Docs: Fix leatest/latest leaflet version 2016-09-30 14:37:01 +02:00
Iván Sánchez Ortega
60b35c0920 Docs: Make the latest leaflet version into a Jekyll variable, for templates. (#4986) 2016-09-30 15:10:33 +03:00
Iván Sánchez Ortega
6ee1a6eb65 Clean up docs/examples - one directory per tutorial, more templating. (#4965)
* Clean up docs/examples - one directory per tutorial, more templating.

* Fix some URLs

* tutorials: update rendered CDN links to 1.0.0 and L.circle signature (#4975)

* Update shown CDN links to 1.0.0

As initially done in PR #4967, but just for the rendered links (what the users sees), as actual link / script tags are already updated.

* DOCS update L.circle to new syntax

in quick-start tutorial, following PR #4974.

* DOCS update L.circle to new syntak (example src)

updated L.circle to new signature (radius as an option instead of 2nd parameter).

* tutorials: use L.geoJSON new syntax (#4983)

* tutorials: use new syntax L.geoJSON

for consistency with recommended factory new syntax (`L.geoJSON` instead of legacy `L.geoJson`).
As done in PR #4933 for docstrings.

* tutorials: L.geoJSON new syntax in script

* Renamed several files to directory/index.md
2016-09-30 13:56:05 +02:00
Vladimir Agafonkin
52a3eefbc2 add a 1.0 notice on frontpage (#4955) 2016-09-27 19:31:58 +03:00
Iván Sánchez Ortega
d1c3b45773 Point download and CDN to 1.0.0 (final), point docs to 1.0.0, rm 0.6 doc stuff (#4948) 2016-09-27 16:08:37 +03:00
Vladimir Agafonkin
8391bcece0 Leaflet 1.0 announcement blog post (#4945)
* Leaflet 1.0 announcement blog post

* added some cool gifs

* some blog fixes

* 1.0 blog post: add top image and minor fixes

* add an alt text
2016-09-27 14:53:28 +02:00
Iván Sánchez Ortega
79d8837b1f Version bump to 1.0.0; update 1.0.0 docs based on leafdoc (#4940) 2016-09-26 16:21:40 +03:00
Johannes Rudolph
3a2106b2cc docs:plungins.md: add Leaflet.nauticscale (#4910) 2016-09-16 14:01:20 +03:00
Johannes Rudolph
68252cb54a docs/plungins.md: add leaflet-ais-tracksymbol-search (#4911) 2016-09-16 14:00:57 +03:00
Iván Sánchez Ortega
30087eaa1d Plugins: add GridLayer.GoogleMutant 2016-09-15 12:43:01 +02:00
Jonas Dralle
cc716ca87c fixed dead link
issue #4899

sorry that it took so long.

I already tried to fix this error twice (See #4900 and ##4901)
2016-09-10 11:00:38 +02:00
adoroszlai
554b3cb0a7 Adding leaflet-distance-markers to plugins list (#4891)
* Adding leaflet-distance-markers to plugin list

* Add link to demo for leaflet-distance-markers
2016-09-09 10:48:44 +02:00
Iván Sánchez Ortega
3da57ca377 Add plugin Leaflet.Marker.SlideTo (#4871) 2016-09-05 19:22:23 +03:00
Dag Jomar Mersland
b0b3527cce Add new marker plugin (#4879)
Leaflet.ParallaxMarker by @dagjomar
2016-09-05 19:22:06 +03:00
Iván Sánchez Ortega
183d9327fd Plugins: Add gridlayer.fadeout (#4881) 2016-09-05 19:19:43 +03:00
ghybs
a10d26d199 PLUGINS fix Leaflet.Marker.Stack demo link (#4880)
Link to demo page was broken, replaced by the "color ramps" demo.
2016-09-05 09:20:34 +02:00
npmcdn-to-unpkg-bot
45ff45e0cb Replace npmcdn.com with unpkg.com 2016-09-03 06:56:05 +01:00
Brendan Ward
46de93e643 Add Leaflet.Basemaps (#4864) 2016-08-31 17:56:34 +03:00
Johannes Rudolph
c2d2c10956 docs/plugins: Add leaflet-ais-tracksymbol 2016-08-29 08:49:25 +02:00
ghybs
9ab538143b PLUGINS added leaflet-labeled-circle (#4846)
(re-apply PR 4834)
2016-08-26 12:37:53 +02:00
Nikolai
96248fe5f1 Edge also has problems with bringToFront (#4848) 2016-08-26 12:37:34 +02:00
Iván Sánchez Ortega
ffb9a636ca Merge branch 'gh-pages' into master-docs 2016-08-18 11:27:28 +02:00
Yohan Boniface
2868790108 rc3 blog post 2016-08-05 10:38:20 +02:00
Yohan Boniface
fd2dfeca93 First shot of rc2 blog post 2016-07-17 10:26:01 +02:00
b_b
faf063fdca avoid double borders on abbr (#4663) 2016-06-27 04:02:25 -07:00
Iván Sánchez Ortega
e24e335d64 Blog post for 1.0.0-rc1 (#4443)
* Blog post for 1.0.0-rc1

* typos, english, link todo note added

* Updated dates for rc1 blog post

* Update CDN URLs for -rc1
2016-04-18 10:36:02 +02:00
Iván Sánchez Ortega
d420e5eda8 prosthetic-hand blog post 2016-03-21 13:15:29 +01:00
Iván Sánchez Ortega
cf23143b00 Added an example on map panes, based on https://stackoverflow.com/questions/35377829/leaflet-js-tilelayer-visible-above-geojson-layer-geojson-interactivity-issue/35378935#35378935https://stackoverflow.com/questions/35377829/leaflet-js-tilelayer-visible-above-geojson-layer-geojson-interactivity-issue/35378935#35378935 2016-02-15 10:58:38 +01:00
Yohan Boniface
23e1eafe5b Add z-index to anchors (fix #3746) 2015-10-07 14:54:56 +02:00
Vladimir Agafonkin
504c7d79d7 don't break feature blocks on main page 2015-09-04 18:18:14 +02:00
Vladimir Agafonkin
515518da5f remove leftovers 2015-07-02 13:37:02 +03:00
Rowan Hogan
c11b8d2a1c Updates API docs heading styles 2015-07-02 12:31:02 +10:00
Rowan Hogan
40001c149c Cap max width of youtube videos (iframes) on mobile) 2015-07-02 09:13:02 +10:00
Vladimir Agafonkin
6e84157b58 fix styling of post meta 2015-07-01 18:35:23 +03:00
Vladimir Agafonkin
e5e156a634 adjust margins on post pages 2015-07-01 18:24:30 +03:00
Vladimir Agafonkin
a2864dc5c1 mobile fixes 2015-07-01 17:28:54 +03:00
Vladimir Agafonkin
0bd44d0416 reorder logos, spacing fixes 2015-07-01 17:24:15 +03:00
Rowan Hogan
36281b6640 Adds new/updated logos to homepage. 2015-07-02 00:10:05 +10:00
Vladimir Agafonkin
c9ebd31ffc minor spacing fixes 2015-07-01 16:44:12 +03:00
Rowan Hogan
1003f6a0f2 Adds dynamic TOC menu for plugins page 2015-07-01 23:01:25 +10:00
Iván Sánchez Ortega
597a492cdf Remove spurious scrollbars from code snippets 2015-07-01 12:28:10 +02:00