Commit Graph

6308 Commits

Author SHA1 Message Date
Iván Sánchez Ortega
8da61993d2 Added four prosthetic-hand tests, checking mouse&touch drag events and touch-zoom 2016-03-18 15:24:42 +01:00
Iván Sánchez Ortega
0ea9832771 Merge pull request #4324 from OpenDevTeam3/drag-undefineds
fixing this._times.length undefined in Map.Drag.js, fixes #4311
2016-03-15 16:26:46 +01:00
mouradeolive
5f7c2e07d6 fixing this._times.length undefined in Map.Drag.js
Update Map.Drag.js

Update Map.Drag.js
2016-03-15 15:47:37 +01:00
Vladimir Agafonkin
d773d6a6da Merge pull request #4308 from Leaflet/canvas-dasharray
Port #4173 to master: dashArray in Canvas
2016-03-14 15:22:50 +02:00
Yohan Boniface
58c44fe5c8 Merge pull request #4303 from wwwouaiebe/gh-pages
Added plugin leaflet.marker.pin
2016-03-12 20:13:57 +01:00
Vladimir Agafonkin
7ca5347db8 Merge pull request #4317 from Kayoku/gh-pages
Update quick-start.md (small correction)
2016-03-11 14:56:14 +02:00
Bouchoucha Jordan
1fc7d37ec1 Update quick-start.md (small correction)
When you need to make sure that the map container has a defined height with :

#mapclass { height: 180px; }

that's not working. Because we did this before :

<div id="mapid"></div>

Rename "mapclass" to "mapid". It's more clear for beginner who can just copy/paste code.
2016-03-11 13:50:53 +01:00
Iván Sánchez Ortega
363e1e94e8 Merge pull request #4309 from chriswhong/gh-pages
Add demo link for leaflet-globe-minimap plugin
2016-03-09 09:12:43 +01:00
Chris Whong
2147c4c879 Add demo link for leaflet-globe-minimap plugin 2016-03-08 16:21:54 -05:00
Iván Sánchez Ortega
8aa32484b4 Port #4173 to master 2016-03-08 16:58:36 +01:00
Vladimir Agafonkin
98e87d3d94 Revert "Stop drag propagation, fixes #4249"
This reverts commit a32017f890.
2016-03-07 23:12:39 +02:00
Vladimir Agafonkin
4333f8831d Merge pull request #4306 from MasterMaps/stop-drag-propagation
Stop drag propagation, fixes #4249
2016-03-07 14:26:43 +02:00
Bjorn Sandvik
a32017f890 Stop drag propagation, fixes #4249 2016-03-07 12:53:50 +01:00
Iván Sánchez Ortega
6c7faa8cac Merge pull request #4304 from skorasaurus/gh-pages
give distinct names for map object, class, and map id in Quick Start Guide & Example
2016-03-06 15:32:28 +01:00
Will Skora
f5d083013f give distinct names for map object, map class, and map id 2016-03-05 18:34:55 -05:00
wwwouaiebe
797ef733d7 Added plugin leaflet.marker.pin 2016-03-05 16:20:04 +01:00
Iván Sánchez Ortega
2b622c9225 Merge pull request #4300 from Leaflet/add-leaflet-underneath
Add plugin Leaflet Underneath
2016-03-04 15:15:42 +01:00
Per Liedman
9fb902ef96 Add plugin Leaflet Underneath 2016-03-04 15:13:09 +01:00
Iván Sánchez Ortega
19b46f4707 Merge pull request #4297 from maydemirx/gh-pages
Added tagFilterButton to plugin list
2016-03-03 10:29:37 +01:00
Mehmet Aydemir
e1e223ed54 Added tagFilterButton to plugin list 2016-03-03 11:21:17 +02:00
Vladimir Agafonkin
7ebbd19737 Merge pull request #4293 from dr-itz/4285-attribution-text
Fix attribution text not removed when Layer is removed from map
2016-03-02 16:00:03 +02:00
Daniel Ritz
0af11b064e Fix attribution text not removed when Layer is removed from map
Symptom: Switching between layers with different attributions does
not remove the attribution from the previously selected layer.

Control.Attribution keeps track of its attributions with a counter for
each text. The problem described in #4285 is that each time the layer
is added to the map, the counter is increased by two. It's because
Layer calls Control.Attribution.addAttribution() twice, once from
addLayer() and the second time via the whenReady() callback _layerAdd().
This was not caught by the tests since the callback was never fired
(missing map.setView() call).

Fixes #4285
2016-03-01 13:46:40 +01:00
Vladimir Agafonkin
f7d7ad22b3 Merge pull request #4280 from errebenito/master
Skip call to this._update() if this._map is null
2016-03-01 11:26:57 +02:00
Vladimir Agafonkin
ac6b18d7a2 Merge pull request #4290 from JrFolk/0.7-legacy-support
Increase depth of legacy support
2016-03-01 11:21:58 +02:00
Vladimir Agafonkin
33da55d307 Merge pull request #4289 from Leaflet/phantomjs2
Update phantomjs dependency version
2016-03-01 11:20:42 +02:00
Vladimir Agafonkin
2b970bf1ce Merge pull request #4287 from Leaflet/pointer-enabled
Clean up navigator.pointerEnabled
2016-03-01 11:20:05 +02:00
Iván Sánchez Ortega
9442f9a20f Merge pull request #4275 from ahalota/patch-1
Added Leaflet.CountrySelect plugin
2016-03-01 10:18:09 +01:00
ghybs
a959d707c0 DOCS Stable added tileerror event
Following #2756
2016-03-01 10:16:42 +04:00
Joseph Folkemer
97921d6cef Increase depth of legacy support
A lot of plugins use the capitalized internal constructors rather than
the API.  This should broaden legacy support for plugins that use the
L.Circle constructor.
2016-02-29 13:01:30 -06:00
Iván Sánchez Ortega
3c38ae3ef0 Update phantomjs dependency version 2016-02-29 17:05:13 +01:00
Iván Sánchez Ortega
a1371507bf Clean up navigator.pointerEnabled 2016-02-29 16:19:34 +01:00
Raúl Benito
11e289ba7d Skip call to this._update() if this._map is null
Returns this instead of this._update() if this._map is not set on addBaseLayer(), addOverlay() and removeLayer().
2016-02-26 20:57:53 +01:00
ahalota
fa6a927456 Added Leaflet.CountrySelect plugin 2016-02-25 18:20:09 -05:00
Peter Wilczynski
0c99f08c8b Update clipsegment documentation
Per the tests here (https://github.com/Leaflet/Leaflet/blob/master/spec/suites/geometry/LineUtilSpec.js), and the implementation, clipSegement no longer modifies the points in place.
2016-02-24 09:26:48 -08:00
Iván Sánchez Ortega
2bc8a8b762 Merge pull request #4268 from pvhee/gh-pages
Adding Leaflet for Drupal to 3rd party integration list
2016-02-22 12:20:05 +01:00
Peter Vanhee
dda17594d6 Adding Leaflet for Drupal to 3rd party integration list 2016-02-22 11:17:35 +00:00
Vladimir Agafonkin
11f852d6a7 Merge pull request #4267 from codeofsumit/gh-pages
Added Leaflet.PM to plugin list
2016-02-22 00:44:41 +02:00
Sumit Kumar
66560f298b Merge pull request #1 from codeofsumit/add-leaflet.pm-plugin
Added Leaflet.PM
2016-02-21 18:34:22 +01:00
Sumit Kumar
fdea7b3ebe Added Leaflet.PM 2016-02-21 18:34:01 +01:00
Vladimir Agafonkin
964d2d5f21 Merge pull request #4265 from NathanMarq/gh-pages
adding Leaflet.Dialog to plugins list
2016-02-20 15:45:24 +02:00
NathanMarq
933dae3896 adding Leaflet.Dialog to plugins list 2016-02-19 18:15:29 -05:00
Iván Sánchez Ortega
663978227d Unit tests for #4257, attributionControl layeradd/layerremove 2016-02-18 21:31:00 +01:00
Iván Sánchez Ortega
e0c17bffee Merge pull request #4263 from snkashis/layer_attr_fix
centralize setting of attributionControl on map from onAdd
2016-02-18 18:40:49 +01:00
Steve Kashishian
fb79bbf9dd centralize setting of attributionControl on map from onAdd 2016-02-18 11:24:44 -05:00
Vladimir Agafonkin
093d77217e Merge pull request #4256 from Leaflet/filterclick-originalevent
Check for e.originalEvent in DomUtil._filterclick
2016-02-17 18:54:00 +02:00
Iván Sánchez Ortega
8290a4179c Check for e.originalEvent in DomUtil._filterclick, should fix #3724 2016-02-17 17:08:00 +01:00
Vladimir Agafonkin
2dd8b8a3b4 Merge pull request #4244 from hyperknot/fix-tileprune-map-bug
check _map in _pruneTiles
2016-02-16 15:18:31 +02:00
Vladimir Agafonkin
c83e8eb8a2 Merge pull request #4246 from Leaflet/class-returns
L.Class.include & mergeOptions now return 'this'
2016-02-16 15:17:00 +02:00
Iván Sánchez Ortega
122317e0fe Merge pull request #4251 from hyperknot/fix-crs-tutorial
CRS tutorial typos, no EU
2016-02-16 13:10:28 +01:00
Zsolt Ero
4b08f72ae1 Indian Ocean title case 2016-02-16 13:04:13 +01:00