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
Lyzi Diamond
7391e308cc
rotate access tokens ( #5338 )
2017-02-16 09:44:50 +02:00
Uzerus
cab880d4d8
type attribute not required in HTML5
2017-02-06 20:32:50 +01:00
Per Liedman
4c484462dc
Canvas improvements ( #5115 )
...
* WIP refactor canvas clear
* Fix clearing bounds, remov unnecessary code
* Refactor redraw logic
* Remove flicker on update
* Fix code style
* Add support for layer ordering with bringToFront/bringToBack
* Fix redraw when layer moves
* Add example for moving canvas layers
* Fix code style
* Use layer ordering for mouse events
* Fix removing first or last layer
2016-11-18 15:22:35 +01:00
Per Liedman
957659fcd0
Move attribution option and getAttribution to L.Layer ( #5070 )
...
Close #5051 .
2016-11-03 09:32:56 +01:00
Steve
1a0b08226b
Fix broken vector-simple debug/testbed page
...
`Uncaught TypeError: Cannot read property 'intersects' of undefined`, so rearrange order for an earlier `map.setView()`
2016-08-14 10:20:46 -05: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
Patrick Arlt
1c3b1889ec
debug for regular layers
2014-12-29 12:58:23 -08:00
Vladimir Agafonkin
b8897f26fb
instantiate default renderers in map, fix #2523
2014-03-07 14:52:11 +02:00
Steve Kashishian
ed926180d2
whitespace fixes
2014-03-04 11:04:00 -05:00
Steve Kashishian
28c56c4bb0
Remove cloudmade tilesets
2014-03-04 10:54:41 -05:00
Vladimir Agafonkin
be85ff304c
fix Canvas layer redawing
2014-01-03 20:14:24 +02:00
Vladimir Agafonkin
d1bc836b5d
HAPPY NEW YEAR!!!
...
Lets have an awesome year doing amazing stuff together! Cheers my
fellow leafleters!
2014-01-01 02:49:57 +02:00
Vladimir Agafonkin
b2965351e0
ignore openPopup if map not initialized, close #2343
2013-12-31 02:43:56 +02:00
Vladimir Agafonkin
65ae546fa0
make canvas be underneath svg by default
2013-12-18 12:03:23 -05:00
Vladimir Agafonkin
f4f8c06c75
fix adding/removal of vectors and renderers
2013-12-18 12:03:23 -05:00
Vladimir Agafonkin
508a75f7a8
make Circle inherit from CircleMarker and not the other way
2013-12-18 12:03:23 -05:00
Vladimir Agafonkin
33e23a69e7
fix specs for polygon holes
2013-12-18 12:03:22 -05:00
Vladimir Agafonkin
dc5151b81a
fix GeoJSON roundtripping
2013-12-18 12:03:22 -05:00
Vladimir Agafonkin
1e04f5feba
add Circle implementation
2013-12-18 12:03:21 -05:00
Vladimir Agafonkin
6f9d05fc40
implement Canvas events and SVG click-through
2013-12-18 12:03:21 -05:00
Vladimir Agafonkin
48a3c34702
add Path Popup implementation
2013-12-18 12:03:20 -05:00
Vladimir Agafonkin
919b862c15
add MultiPolyline and MultiPolygon implementations
2013-12-18 12:03:20 -05:00
Vladimir Agafonkin
d3426d557b
fix Polygon getBounds and factory
2013-12-18 12:03:20 -05:00
Vladimir Agafonkin
33f4e72cc4
add working Polygon implementation
2013-12-18 12:03:19 -05:00
Vladimir Agafonkin
3c8dd353a8
manage renderer automatically
2013-12-18 12:03:19 -05:00
Vladimir Agafonkin
076255f33f
initial working Path/Polyline implementation
2013-12-18 12:03:19 -05:00
Vladimir Agafonkin
9edf8e0ea3
remove leaflet.ie.css inclusion in all debug pages
2013-11-08 16:44:14 +02:00
danzel
b0c70f96ad
Update TouchZoomEmu with more crazy tests. Useful when debugging touch zoom behaviour
2013-04-15 11:54:43 +12:00
Vladimir Agafonkin
3c13569147
update cloudmade API key on all debug pages
2013-03-22 16:27:07 +02:00
jacobtoye
0e0831c2c9
Removing editable polyline/polygon example.
2013-02-11 13:18:18 +13:00
Eldar Djafarov
5985bffea0
Fix debug html pages after #1326
2013-01-31 08:29:39 -02:00
danzel
a17e481c76
Add another point to the polyline edit example so that it can reproduce #1022
2012-09-28 10:22:42 +12:00
Vladimir Agafonkin
6e5b37c36b
fix geojson example for IE
2012-08-08 12:18:05 +03:00
Vladimir Agafonkin
35dff37fdb
improve geojson example a bit
2012-08-07 11:56:48 +03:00
mourner
b2c61b74f2
Improve GeoJSON example
2012-08-04 11:43:55 +03:00
mourner
fc1e6669ab
improve geojson example colors, add legend
2012-08-03 23:50:14 +03:00
Vladimir Agafonkin
5281dbe99d
improve geojson example more
2012-08-03 16:11:41 +03:00
Vladimir Agafonkin
4d91aae677
improve geojson example
2012-08-03 15:48:16 +03:00
Vladimir Agafonkin
1ba68c7bed
improve geojson example
2012-08-03 15:08:49 +03:00
Vladimir Agafonkin
7a8df104b0
custom control for geojson example
2012-08-03 15:02:40 +03:00
Vladimir Agafonkin
62a84dedd8
new geojson example with US states
2012-08-03 14:49:45 +03:00
Vladimir Agafonkin
b1db46a307
update build with regression fixes
2012-07-30 12:31:09 +03:00
mourner
6437e653ee
fix array form polyline editing bug, update build
2012-07-29 02:22:18 +03:00
Vladimir Agafonkin
ad4b8a2441
fix contextmenu event on path layers
2012-07-13 14:48:35 +03:00
Vladimir Agafonkin
92c704f33b
Improved GeoJSON API, closed #315 , closed #715
2012-07-09 14:42:44 +03:00
Vladimir Agafonkin
0d6749a3ac
initial API simplification
2012-07-03 17:06:44 +03:00