Commit Graph

2085 Commits

Author SHA1 Message Date
Tom MacWright
0a2000166a Fix semicolons, breaking, whitespace, duplicate var statements. 2013-02-19 11:18:15 -05:00
Vladimir Agafonkin
a0dd4a60e9 accept coordinates in form of simple objects, close #1412 2013-02-19 18:01:53 +02:00
Vladimir Agafonkin
5d41efe616 fix removeAttrubution, cover the control with tests, close #1410 2013-02-19 17:47:38 +02:00
Vladimir Agafonkin
c50410eadc add Control getContainer, close #1409 2013-02-19 17:45:50 +02:00
Vladimir Agafonkin
d98b4ea035 throw meaningful exception on getCenter before setView, close #1395 2013-02-19 16:54:29 +02:00
Vladimir Agafonkin
879b9f987b make Leaflet mention in attribution much less obtrusive 2013-02-18 16:11:59 +02:00
Vladimir Agafonkin
684fd7c12f Merge pull request #1405 from gismartware/master
Fix for issue #1404
2013-02-18 05:50:02 -08:00
fabriceds
2591f53a28 Fixes box-zooming in Firefox 18+ 2013-02-18 14:38:11 +01:00
Vladimir Agafonkin
0b671a9b08 make zoom buttons listen to zoomlevelschange 2013-02-17 21:38:15 +02:00
Vladimir Agafonkin
ee74309503 update build and changelog 2013-02-17 21:14:23 +02:00
Vladimir Agafonkin
e7376851c1 Merge pull request #1402 from snkashis/path_popups
allow Path.bindPopup to take existing popups as well.
2013-02-17 10:58:27 -08:00
snkashis
11195f4849 allow Path.bindPopup to take existing popups as well. 2013-02-17 13:31:27 -05:00
Vladimir Agafonkin
b94a4ea27b update changelog 2013-02-17 18:45:36 +02:00
Vladimir Agafonkin
f12e7e65f3 Merge pull request #1400 from jfirebaugh/getTileUrl
Enable cleaner overriding of TileLayer#getTileUrl
2013-02-15 16:39:22 -08:00
Vladimir Agafonkin
26b026b1c3 Merge pull request #1399 from jfirebaugh/tabs_vs_spaces
2 space indents -> tabs
2013-02-15 16:31:22 -08:00
John Firebaugh
4f906246bf Enable cleaner overriding of TileLayer#getTileUrl
Moved the called to _adjustTilePoint outside of getTileUrl,
and moved the call to _getZoomForUrl into _adjustTilePoint.
This allows getTileUrl to use x, y, z directly without any
calls to private methods.
2013-02-15 16:29:20 -08:00
John Firebaugh
e52bbd0b3a 2 space indents -> tabs 2013-02-15 16:22:45 -08:00
Vladimir Agafonkin
71ddece599 Merge pull request #1397 from tmcw/template-tests
Split template tests into logic groups, test for template without tokens.
2013-02-15 15:32:57 -08:00
Tom MacWright
eae5758ff4 Split template tests into logic groups, test for template without
tokens.
2013-02-15 17:38:11 -05:00
Dave Leaver
acf3413d7c Merge pull request #1396 from danzel/oldie-fixes
Fix TileLayer opacity in IE7/8
2013-02-15 14:00:16 -08:00
danzel
aed9506ab0 TileLayer opacity fixes as per @javisantana in #1371. Fixes #1084 2013-02-16 10:57:25 +13:00
Vladimir Agafonkin
babf3320fe Note about line endings in the contributing guide 2013-02-15 22:01:11 +02:00
Vladimir Agafonkin
703f8a3a43 Merge pull request #1384 from snkashis/svg_clicks
Allow clicks to pass thru non clickable paths
2013-02-15 07:38:27 -08:00
Vladimir Agafonkin
3cef077128 Merge pull request #1385 from snkashis/bind_popup_option
Allow previously created popups to be used with bindPopup
2013-02-15 07:35:03 -08:00
Vladimir Agafonkin
b42559d816 Merge pull request #1386 from snkashis/click_while_open
Don't fade in a currently shown popup when clicking marker again
2013-02-15 07:31:35 -08:00
snkashis
1c38b896ba Don't fade in a currently shown marker popup 2013-02-14 23:27:21 -05:00
snkashis
ae07e792af Allow previously created popups to be used with bindPopup 2013-02-14 23:04:53 -05:00
snkashis
7472550087 Allow clicks to pass thru non clickable paths 2013-02-14 22:17:34 -05:00
Vladimir Agafonkin
a948379db8 Merge pull request #1376 from moonlite/zoomlevelschange-event
Zoomlevelschange event
2013-02-14 03:35:57 -08:00
Mattias Bengtsson
cbee6851c8 Don't expose getZoomLevels. 2013-02-14 12:00:08 +01:00
Vladimir Agafonkin
d8ef52b1b1 Merge pull request #1374 from oslek/move-events
Move events
2013-02-14 02:31:25 -08:00
Mattias Bengtsson
3a834d35cd Add tests for the zoomlevelschanged-event. 2013-02-14 03:07:32 +01:00
Mattias Bengtsson
efe0c6f6ea Fire zoomlevelschange event when zoomlevels are updated.
This is triggered when you remove a layer from a map with greater
zoom level coverage than the remainding layers or when you add a tilelayer
with greater zoomlevel coverage than the previous set of layers had.
2013-02-14 03:04:10 +01:00
oslek
c3ccf01a29 prevent extra movestart on inertia drag 2013-02-13 13:35:40 -08:00
Vladimir Agafonkin
b8b8d7b351 Merge pull request #1373 from snkashis/marker_popups
Allow popups that are bound to markers to have new content set
2013-02-13 13:29:28 -08:00
oslek
f7301fa267 fire dragend before moveend for consistency 2013-02-13 13:25:02 -08:00
oslek
2c11fdfa6d prevent false move events in invalidateSize 2013-02-13 12:38:33 -08:00
snkashis
633e21d043 include conditional before trying to set content of popup 2013-02-13 14:08:45 -05:00
snkashis
dbd57c0b7b Allow popups that are bound to markers to have new content set 2013-02-13 14:06:48 -05:00
Vladimir Agafonkin
52f61bf55a Merge pull request #1372 from snkashis/zoom_with_layerswitch
Update zoom control buttons with proper state on baselayer switch
2013-02-13 07:27:12 -08:00
snkashis
a25cc9fb37 remove handler too 2013-02-13 10:21:29 -05:00
snkashis
3c5161feba determine button disabled state on baselayer change 2013-02-13 10:19:37 -05:00
Vladimir Agafonkin
c2379a335d Merge pull request #1367 from jacobtoye/MovePolylineEdit
Remove polyline edit
2013-02-11 13:11:33 -08:00
jacobtoye
0e0831c2c9 Removing editable polyline/polygon example. 2013-02-11 13:18:18 +13:00
jacobtoye
8440f5ba7c Remove PolyEdit from the dependencies file for building. 2013-02-11 13:17:39 +13:00
jacobtoye
e13d5faa80 Remove Polyline.Edit file. 2013-02-11 13:17:11 +13:00
Vladimir Agafonkin
3bb34f3f55 Merge pull request #1365 from joschka/fix-viewport-offset
Fix viewport offset calculation in Firefox (fixes issue #1322)
2013-02-09 12:47:17 -08:00
Joschka
06bb571095 Fix viewport offset calculation in Firefox (issue #1322) 2013-02-09 18:51:00 +01:00
Vladimir Agafonkin
4249921e57 Merge pull request #1359 from danzel/fix-events
Change _propagateEvent to be careful that it doesn't overwrite e.layer
2013-02-08 04:08:38 -08:00
danzel
513c6ca4cd Change _propagateEvent to be careful that it doesn't overwrite e.layer if it is already set. Allows markers to be in multiple FeatureGroups and have the events come through correctly. See the test for details.
Fixes Leaflet.markercluster#128 ( https://github.com/Leaflet/Leaflet.markercluster/issues/128 )
2013-02-08 14:44:28 +13:00