Commit Graph

25 Commits

Author SHA1 Message Date
Roman Zoller
5ffe207921 Use https everywhere for OSM links (#6082)
* Use https everywhere for OSM tile URLs

Use
https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png

instead of
http://{s}.tile.osm.org/{z}/{x}/{y}.png
http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png

* Use https everywhere for OSM attribution link

Use
https://www.openstreetmap.org/copyright

instead of
http://www.openstreetmap.org/copyright
http://osm.org/copyright
2018-03-12 08:46:20 +01:00
Guillaume P
ac05f68a39 Canvas: call ctx.setLineDash in _fillStroke (#5454)
* Canvas: call ctx.setLineDash in _fillStroke

This make dashArray working properly for cirles.

fix #5182

* Debug: add dashed circle example

* Debug: add simple example reproducing #5182
2017-04-20 12:41:26 +02:00
Thach Hoang
0d1eae32be Fix debug examples after rollup (#5417)
Fix #5373.

- Remove references to removed file "../../build/deps.js"
- Update leaflet-include.js to point to "../dist/leaflet-src.js"
- Update watch to use the same destination file as rollup (dist/leaflet-src.js)
- Define getRandomLatLng where used
2017-03-28 08:40:48 +02:00
Uzerus
cab880d4d8 type attribute not required in HTML5 2017-02-06 20:32:50 +01:00
Nathan Cahill
425fa13cb4 Various debug fixes (#4515)
* various debug fixes
* fix mixed spaces and tabs
2016-04-29 12:35:50 +03:00
Per Liedman
4267291527 Initialize canvas dash on init. Check that canvas supports setLineDash.
Close #4363. Close #4351.
2016-04-02 09:41:59 +02:00
Yohan Boniface
76cb60705f Switch from L_PREFER_CANVAS to map.options.preferCanvas 2015-07-14 10:27:50 +02:00
Yohan Boniface
50d7121f72 Make _fireDOMEvent accept optional targets
In the case of canvas path, we can't add the canvas element itself
as an interactiveTarget, given that it's big like the path bbox, and
thus would make all this bbox target of events (so also clicking
outside of the path itself, the layer would fire click event, for
example)
2015-07-06 13:55:59 +02:00
Steve Kashishian
28c56c4bb0 Remove cloudmade tilesets 2014-03-04 10:54:41 -05:00
Vladimir Agafonkin
9edf8e0ea3 remove leaflet.ie.css inclusion in all debug pages 2013-11-08 16:44:14 +02:00
Vladimir Agafonkin
3c13569147 update cloudmade API key on all debug pages 2013-03-22 16:27:07 +02:00
Eldar Djafarov
5985bffea0 Fix debug html pages after #1326 2013-01-31 08:29:39 -02:00
Vladimir Agafonkin
b1db46a307 update build with regression fixes 2012-07-30 12:31:09 +03:00
Mourner
a024a64a15 update canvas debug page 2011-08-02 11:07:21 +03:00
Mourner
6b23b4325b add layer through layer group in debug page 2011-07-29 16:54:54 +03:00
Mourner
a4c46c9a60 nicer buttons on debug canvas page 2011-07-28 13:58:40 +03:00
florianf
93da176a38 Added second removal of canvas layer for testing purposes. 2011-07-24 15:05:38 +02:00
florianf
6c37eda53a Implemented removing of canvas layers. Fixes #172 2011-07-24 14:56:42 +02:00
Mourner
4273df1f99 fix circle drawing bug 2011-06-22 12:26:03 +03:00
Mourner
5772c995f3 prettier vector example 2011-06-21 18:26:39 +03:00
Mourner
7e22f3426c vector namespaces/consants refactoring 2011-06-21 17:58:26 +03:00
Mourner
436915617a canvas polygon clicks through ray casting (yay!), refactoring 2011-06-21 14:37:34 +03:00
Mourner
a46c9040a7 canvas polyline click events 2011-06-21 14:04:35 +03:00
Mourner
f80674a9e3 refactoring, cleanup, take strokeWidth into account in circle click 2011-06-21 13:02:45 +03:00
Mourner
0009ceb9c6 merge Florian's pull, fixes, cleanup, circle click, added todos 2011-06-21 11:43:31 +03:00