Ansis Brammanis
6c53aa6867
dblclicking now zooms around mouse, not centre
2013-04-10 17:09:31 -04:00
John Firebaugh
786faddc84
Permit layer stamping to be overridden
2013-04-10 12:28:27 -04:00
Vladimir Agafonkin
386bf68386
Merge pull request #1574 from tmcw/map-initialization-exception
...
Throw an exception if a map div is not found and test for initialization exceptions
2013-04-08 13:46:53 -07:00
Christian Schwarz
48bec16f49
Fixed zoom out on Windows 8 with Firefox
...
Firefox receives wheel delta of 0.33 on zoom in and -0.33 on zoom out, which turns into Math.ceil(0.33) == 1 and Math.round(-0.33) == 0. After this fix it returns correctly -1 for zooming out.
Worked fine before and after this fix in Chrome and Internet Explorer.
2013-04-08 23:33:53 +03:00
Tom MacWright
22810aacf7
Throw an exception if a map div is not found
...
and test for initialization exceptions
2013-04-08 12:28:27 -04:00
Vladimir Agafonkin
6009d4ae87
move phantomjs check for touch into Leaflet
...
to allow standalone mocha-phantomjs usage on the browser reporter
2013-04-05 12:32:19 +03:00
John Firebaugh
55edd44678
Add #toGeoJSON to various layer types ( #712 )
2013-04-04 09:46:18 -07:00
Vladimir Agafonkin
c247dfdb2c
Merge pull request #1537 from dotCypress/master
...
Popup close button fix
2013-03-28 13:35:11 -07:00
Vladimir Agafonkin
0aed98f7d2
Merge pull request #1554 from olegsmith/master
...
Support functions in L.Util.template
2013-03-28 04:24:40 -07:00
Oleg Smith
ea926000f8
Strage behavior of inplace github editor
2013-03-28 15:23:03 +04:00
olegsmith
683642d7e4
Remove trailing whitespace in fix
2013-03-28 15:01:15 +04:00
Vladimir Agafonkin
547e9936f2
Merge branch 'master' of https://github.com/Leaflet/Leaflet
...
* 'master' of https://github.com/Leaflet/Leaflet :
fix enable/disable of marker dragging
2013-03-28 11:11:18 +02:00
Vladimir Agafonkin
08a8c39088
fix moveend not always firing on drag
2013-03-28 11:10:44 +02:00
olegsmith
d125152c4b
Extend L.Util.template
...
Look at hash function in Wikimapia
L.tileLayer('http://{s}{hash}.wikimapia.org/?x={x}&y={y}&zoom={z}&r=7071412&type=hybrid&lng=1 ', {
hash: function (data) {
return data.x % 4 + (data.y % 4) *4;
}
, subdomains : 'i'
, maxZoom: 18
, attribution: '<a href="http://wikimapia.org " target="_blank">Wikimapia.org</a>'
}).addTo(map);
http://olegsmith.github.com/leaflet.wikimapia/
2013-03-28 11:03:57 +04:00
Alexander frenzel
d904859ba3
fix enable/disable of marker dragging
2013-03-27 21:03:05 +01:00
Vitaly Domnikov
b1742194f4
Popup close button bugfix
2013-03-20 16:24:47 +02:00
malexeev
e110c7bbfe
safer _getSubdomain
...
Note that (tilePoint.x + tilePoint.y) might be negative in some cases (custom CRS with tiled WMS).
2013-03-18 22:54:52 +02:00
danzel
a6a4fe5219
Use L.stamp to always have a stamped context on removal too.
2013-03-19 08:33:26 +13:00
danzel
9d4d894450
Add another events test and fix from @iirvine
2013-03-15 13:53:03 +13:00
danzel
5bbfbd9573
Fix whitespace for jshint
2013-03-13 13:08:59 +13:00
danzel
8e65fe7a89
Always stamp the context in addEventListener, makes the optimisation always apply if there is a context.
2013-03-13 10:09:09 +13:00
danzel
5269f10885
Fix for #1495
2013-03-12 17:36:17 +13:00
Vladimir Agafonkin
81221ae4cd
fix jshint 1.1.0 errors, update deps and build
2013-03-07 17:39:55 +02:00
Nikolai Prokoschenko
1c8e0c6901
Disable 3D CSS transforms on PhantomJS
...
PhantomJS does not support 3D CSS transform even though it's a Webkit product. This patch detects PhantomJS in the user agent and disables 3D transforms.
Details on PhantomJS support are here: https://groups.google.com/forum/#!msg/phantomjs/h7-4-CWsy1g/KX1tlf5gT5IJ
2013-03-06 13:09:35 +01:00
Vladimir Agafonkin
bf54caa1e9
Merge pull request #1490 from danzel/oldie-fixes
...
Fix opacity in oldie for the millionth time. Refs #1486
2013-03-05 01:36:27 -08:00
danzel
0b0cce929e
Fix opacity in oldie for the millionth time. Refs #1486
2013-03-05 09:47:46 +13:00
danzel
9ae07469c5
Fix zooming on browsers without zoom animation support. Refs #1486
2013-03-05 09:29:41 +13:00
Vladimir Agafonkin
b993f1fc4b
Merge pull request #1471 from snkashis/drag_handling
...
handle drag listeners properly to avoid errors on marker removal
2013-02-28 03:25:04 -08:00
snkashis
1df4c4a98f
work with handlers in right place
2013-02-28 11:01:26 +00:00
snkashis
ed08a5b1dc
call disable, not removeHooks
2013-02-28 10:46:54 +00:00
snkashis
95c73a3d77
handle drag handlers properly to avoid errors if moving while removed.
2013-02-28 10:38:27 +00:00
Tom MacWright
71d17180c8
Add layerGroup#getLayers and tests. Fixes #1460
2013-02-27 17:10:19 -05:00
Paul Spencer
2ba0422e9d
Update src/dom/DomEvent.js
...
return this from removeListener when there is no handler so that chained calls still work in other places in the code such as removeHooks() inside the keyboard handler. If you call removeHooks() twice on the keyboard handler, you will get a javascript error in the second chained .off() call.
2013-02-27 13:55:04 -05:00
John Firebaugh
5e7857cdff
Normalize polygon holes ( fixes #1459 )
2013-02-27 08:12:18 -08:00
Vladimir Agafonkin
42973e7e4c
Merge branch 'master' of https://github.com/Leaflet/Leaflet
...
# By John Firebaugh
# Via Vladimir Agafonkin (2) and John Firebaugh (1)
* 'master' of https://github.com/Leaflet/Leaflet :
Add Map#eachLayer (fixes #1457 )
Fix whitespace
Use devDependencies
2013-02-27 17:18:48 +02:00
Vladimir Agafonkin
f4e8735547
clean up the canvas hovering code
2013-02-27 17:17:37 +02:00
Vladimir Agafonkin
1d4e91f9fa
fix events not overwriting target/type
2013-02-27 16:34:40 +02:00
Vladimir Agafonkin
6fff98435c
Merge branch 'canvas_path_cursor' of github.com:snkashis/Leaflet into canvas-hover
...
* 'canvas_path_cursor' of github.com:snkashis/Leaflet:
mouseout firing
mistaken, unneeded test file.
don't perform if animatingZoom
dupe of 50K vector test, for canvas.
Hand cursor for canvas paths
2013-02-27 16:13:50 +02:00
John Firebaugh
511fbb9f44
Add Map#eachLayer ( fixes #1457 )
2013-02-26 11:39:00 -08:00
Vladimir Agafonkin
bba4f2ae1b
return this in LayerGroup eachLayer, close #1452
2013-02-25 19:26:35 +02:00
Vladimir Agafonkin
0a83b83237
fix whitespace
2013-02-25 12:45:33 +02:00
Vladimir Agafonkin
a169b6cb86
Merge pull request #991 from adimitrov/overlay_bounds
...
Add tileBounds option to limit tile loading to a given region
2013-02-25 02:23:11 -08:00
Vladimir Agafonkin
a2890d6c4b
cleanup and prettify animation code, more comments
2013-02-22 17:29:52 +02:00
Vladimir Agafonkin
9c2e7cfbd4
add Point contains method
2013-02-22 17:28:55 +02:00
John Firebaugh
46dddc895c
Fire an unload event on removal
...
Plugins that need to bind events to `window` or `document`
can attach a listener for this event and unbind their event
handlers.
However, for symmetry, unload is fired only if load has been
fired.
2013-02-21 17:31:09 -08:00
Vladimir Agafonkin
5558987272
fix geolocation accuracy bounds, add more event data, close #984 , related #584 , #987 , #1028
2013-02-21 14:41:26 +02:00
Vladimir Agafonkin
3cc75db221
Merge pull request #1440 from danzel/zoom
...
Fix building without zoom animations enabled
2013-02-21 00:10:13 -08:00
Vladimir Agafonkin
9c9d4286a1
Merge pull request #1439 from danzel/convert_option
...
Make Polyline/Polygon not overwrite the source array
2013-02-21 00:08:48 -08:00
danzel
1681365040
Fix building without zoom animations enabled
2013-02-21 15:15:24 +13:00
Yohan Boniface
7fd4ca20fe
Allow for canceling a boxzoom being drawn pressing Escape key
2013-02-20 20:47:23 +01:00
Vladimir Agafonkin
5c18361aa2
fix typo, fix animated setView not converting latlng input
2013-02-20 20:54:12 +02:00
Vladimir Agafonkin
cf00a0113d
fix rounding error when changing zoom, close #426
2013-02-20 20:11:47 +02:00
Vladimir Agafonkin
97454596c6
fix whitespace, update build
2013-02-20 19:49:40 +02:00
Vladimir Agafonkin
36e59c2afb
minor WMS cleanup after merge
2013-02-20 19:48:33 +02:00
Vladimir Agafonkin
3063fd9192
Merge pull request #1433 from tmcw/layer-container
...
Add a public API for getContainer for TileLayer
2013-02-20 09:48:19 -08:00
Vladimir Agafonkin
874ec60aae
Merge pull request #1080 from brianhatchl/wms-tilesize-option-bug
...
fixed bug where wms tilesize option was ignored
2013-02-20 09:44:54 -08:00
Vladimir Agafonkin
06190b1ec8
Merge pull request #1434 from jfirebaugh/remove
...
Add Map#remove
2013-02-20 09:41:44 -08:00
Vladimir Agafonkin
40a824fc97
refactor TileLayer animation, fix #1140 , #1437 , #52 , #1442
...
Refactored TileLayer animation so that it happens for each tile layer
independently instead of animating the parent of all tile layers. Moved
TileLayer animation code into a separate file (TileLayer.Anim.js).
Fixes loads of bugs and makes the code easier to understand.
2013-02-20 18:40:00 +02:00
John Firebaugh
6ef25866eb
Add Map#remove
...
This is a minimal implementation; it only unbinds events
and deletes the _leaflet flag from the container.
Refs #1101 .
2013-02-19 17:36:03 -08:00
Tom MacWright
8735b87980
Add public getContainer API to TileLayer, and test for it.
2013-02-19 20:05:44 -05:00
danzel
3afee7eb49
Allow overwriting the given array, for usage by spliceLatLngs.
2013-02-20 11:03:13 +13:00
snkashis
0fb7a13277
force new array
2013-02-20 10:38:44 +13:00
snkashis
57d42d1636
allow for no overwrite option in covertLatLngs
2013-02-20 10:38:43 +13: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
snkashis
382a9965ef
mouseout firing
2013-02-17 21:25:11 -05:00
snkashis
d010d586d0
don't perform if animatingZoom
2013-02-17 14:57:32 -05:00
Vladimir Agafonkin
0b671a9b08
make zoom buttons listen to zoomlevelschange
2013-02-17 21:38:15 +02:00
snkashis
baeeddb078
Hand cursor for canvas paths
2013-02-17 14:21:27 -05:00
snkashis
11195f4849
allow Path.bindPopup to take existing popups as well.
2013-02-17 13:31:27 -05: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
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
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
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
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
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
jacobtoye
e13d5faa80
Remove Polyline.Edit file.
2013-02-11 13:17:11 +13:00
Joschka
06bb571095
Fix viewport offset calculation in Firefox (issue #1322 )
2013-02-09 18:51:00 +01: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
Vladimir Agafonkin
84d537b804
fix L.latLng factory not passing null through
2013-02-05 14:26:32 +02:00
Vladimir Agafonkin
94a69bec1e
fix Point factory not passing null through
2013-02-05 12:38:13 +02:00
Calvin Metcalf
c3ee79b01d
enable coffeescript classes
2013-02-04 08:00:02 -05:00
Vladimir Agafonkin
98a950ff53
cleanup #1227 pull
2013-02-04 14:40:28 +02:00
Vladimir Agafonkin
72ad6912e6
Merge pull request #1227 from jerel/patch/android-webview
...
A bug in Android WebView triggers two clicks at once.
2013-02-04 04:34:19 -08:00
Vladimir Agafonkin
80f107cba3
Merge pull request #1318 from yohanboniface/add_lbrt_getters
...
Add LatLngBounds.getLeft/getBottom/getRight/getTop
2013-02-04 02:45:06 -08:00
danzel
6b51780e79
Make setRadius and updateStyle({radius: 123 }) work.
2013-02-04 09:51:27 +13:00
danzel
ded525fb06
Fix #1297 CircleMarker setRadius not working if called before adding to map.
2013-02-03 15:35:12 +13:00
Vladimir Agafonkin
08f770fcc2
Merge pull request #1053 from inpursuit/enhancement/3
...
Allow pointer-events to be set via options passed to shape
2013-01-31 08:37:43 -08:00
Vladimir Agafonkin
619698f6fb
minor whitespace cleanup
2013-01-31 17:32:16 +02:00
Vladimir Agafonkin
ef02f60387
merge #1141 and clean it up
2013-01-31 17:29:40 +02:00
Vladimir Agafonkin
a8763e665b
Merge remote-tracking branch 'origin/control-design'
...
# By Vladimir Agafonkin (4) and jacobtoye (2)
# Via Vladimir Agafonkin (1) and jacobtoye (1)
* origin/control-design:
Removing unnecessary ie only styles.
Using hex color instead of rgba to support oldie.
make toolbar styles more generic
simplify toolbar classes
rename top/bottom to first/last in control classes, thanks @yohanboniface
improve zoom control design (refining @jacobtoye's work)
2013-01-30 17:23:17 +02:00
Yohan Boniface
4f59140253
Eat our own food
2013-01-28 01:09:26 +01:00
Yohan Boniface
4b5746ffbc
Use getWest/South/East/North instead of getLeft/Bottom/Right/Top
2013-01-28 01:04:09 +01:00
Vladimir Agafonkin
39f9e2be10
Merge pull request #1317 from yohanboniface/escape_uri_component
...
Escape URI component in getParamString
2013-01-27 12:37:32 -08:00
Yohan Boniface
69b925b057
Add LatLngBounds.getLeft/getBottom/getRight/getTop
2013-01-27 12:12:02 +01:00
Yohan Boniface
c432c4eb24
Escape URI component in getParamString
2013-01-26 17:47:28 +01:00
Vladimir Agafonkin
9bdab60182
make toolbar styles more generic
2013-01-23 15:34:44 +02:00
Vladimir Agafonkin
0554098460
simplify toolbar classes
2013-01-23 15:16:42 +02:00
Vladimir Agafonkin
140cace2a7
Merge pull request #1300 from rvlasveld/add_hasLayer_to_layerGroup
...
Add has layer to layer group
2013-01-21 14:29:07 -08:00
Roemer Vlasveld
109fd06ae6
hasLayer not checking for null
...
Return false when checking for a null object in L.Map.hasLayer, in
response to issue #1282 .
2013-01-21 23:22:01 +01:00
Roemer Vlasveld
75fa5b087f
Fix js typo
2013-01-21 22:46:18 +01:00
Roemer Vlasveld
82d4535180
Add hasLayer to LayerGroup
...
Add the method hasLayer to LayerGroup, return false when not present or checking for a null layer.
2013-01-21 22:36:24 +01:00
snkashis
5524db2816
condition on one line
2013-01-21 10:14:42 -05:00
Vladimir Agafonkin
57c0ac408e
rename top/bottom to first/last in control classes, thanks @yohanboniface
2013-01-21 17:04:58 +02:00
snkashis
65aad99297
Revert "whitespace fix?"
...
This reverts commit 9856a66864
.
2013-01-20 20:18:48 -05:00
Steve
9856a66864
whitespace fix?
2013-01-20 20:06:52 -05:00
Steve
c0210009df
whitespace again
2013-01-20 19:39:01 -05:00
Steve
03a775c69b
Trying to fix whitespace
2013-01-20 19:38:12 -05:00
Steve
52b445a36d
Simplify features check
2013-01-20 19:35:18 -05:00
snkashis
c43e72da16
Handle arrays of feature collections
2013-01-20 19:13:43 -05:00
Calvin Metcalf
f26da9f9be
only mention the path, and ternery
2013-01-18 13:35:07 -05:00
Calvin Metcalf
c3cb132463
we want it reletive not from the base
2013-01-18 12:46:16 -05:00
Calvin Metcalf
82869206e2
ie7 fix
2013-01-18 12:41:11 -05:00
Vladimir Agafonkin
292d2b3633
merge snkashis polygon fix
2013-01-18 17:43:31 +02:00
Vladimir Agafonkin
10bd63a6a6
update changelog, bump version
2013-01-18 17:30:53 +02:00
Vladimir Agafonkin
76f8d0762d
Merge pull request #1287 from jieter/master
...
TileLayer.Canvas now returns this.
2013-01-18 07:25:37 -08:00
Vladimir Agafonkin
5fccd34a54
Merge pull request #1286 from calvinmetcalf/layerControlEvents
...
Layer control events for overlays
2013-01-18 07:25:22 -08:00
Yohan Boniface
44a7c6e0d8
Typo in Polyline docstring
2013-01-18 12:48:43 +01:00
Vladimir Agafonkin
eed2c8a12b
fix FF minus key, close #869 , update changelog and build
2013-01-17 11:51:52 +02:00
Jan Pieter Waagmeester
12d04f5c59
TileLayer.Canvas.redraw() now returns this.
2013-01-17 09:39:06 +01:00
Calvin Metcalf
c0e4241f36
rename events
2013-01-16 22:00:55 -05:00
Calvin Metcalf
88f1e121ee
overlay events
2013-01-16 18:20:20 -05:00
Vladimir Agafonkin
8facf33896
fix whitespace, update build
2013-01-16 17:08:57 +02:00
Vladimir Agafonkin
e3528c2d22
update zoom control styles, extract general toolbar classes, fix #1209
2013-01-16 17:08:06 +02:00
Vladimir Agafonkin
11e74ccab9
minor cleanup
2013-01-15 16:19:04 +02:00
Vladimir Agafonkin
405bf0c05d
Merge pull request #1279 from oslek/isArray
...
Robust array type check for cross-frame support
2013-01-14 15:11:41 -08:00
oslek
7dd7e4f699
Robust array type check for cross-frame support
...
In a multi-frame DOM environment, if setView is called with an array for
the first parameter, a subsequent call to getBounds raises "Invalid
LatLng object" exception. This is the case if the array passed to
setView was created outside the iFrame that contains the map. It causes
the array test using "instanceof" in L.latLng to fail, and
_initialTopLeftPoint to not being properly initialized.
Thank you to Juriy Zaytsev for the full explaination:
http://perfectionkills.com/instanceof-considered-harmful-or-how-to-write-a-robust-isarray/
John Resig and Dean Edwards post comments and concur.
2013-01-14 14:04:50 -08:00
danzel
365a5b3b02
Fix jshint unhappiness (Thanks @Guiswa)
2013-01-15 10:51:36 +13:00
Vladimir Agafonkin
dad3996d0e
Merge pull request #1097 from calvinmetcalf/GeometryCollection
...
GeoJSON GeometryCollection passes consisent params to pointToLayer
2013-01-14 06:33:28 -08:00
Calvin Metcalf
0ebbd7553e
fixed the whitespace and also removed the quotes in object keys
2013-01-14 07:25:34 -05:00
Vladimir Agafonkin
3f4e890b58
Merge pull request #1174 from danzel/master
...
Add retina marker icon support and retina-ize the default icon
2013-01-14 02:50:28 -08:00
danzel
6eefa8ad0e
Another pass on marker-icon, better grid fitting.
2013-01-14 16:12:58 +13:00
mourner
333899ca51
add Popup zoomAnimation option, fix #999
2013-01-14 00:23:45 +02:00
mourner
5eb4f4686d
fix a bug with FeatureGroup bindPopup not accepting options
2013-01-14 00:23:04 +02:00
snkashis
b3a7f2ffb7
Remove click handler with onRemove
2013-01-12 16:55:13 -05:00
Vladimir Agafonkin
eb518f33ac
Merge branch 'master' of github.com:Leaflet/Leaflet
2013-01-11 18:50:44 +02:00
Vladimir Agafonkin
4ebfeb9d18
udpate copyright to be more precise
2013-01-11 18:50:21 +02:00
Vladimir Agafonkin
116671fa55
Merge pull request #1013 from fdlk/set-radius-in-style
...
radius is part of CircleMarker style so should be changeable in using setStyle();
2013-01-11 08:43:18 -08:00
Vladimir Agafonkin
bc4104c708
fix TileLayer.brintToFront/Back on IE6-8, close #1168
2013-01-11 18:33:17 +02:00
Vladimir Agafonkin
64ca0af124
attempt to fix Android 4.1 zoom freeze, #1182
2013-01-11 18:20:40 +02:00
Vladimir Agafonkin
6dd0dea1aa
double quotes to single
2013-01-11 18:19:50 +02:00
Vladimir Agafonkin
80d0da1bdf
fix iOS vectir zoom anim regression, close #1259
2013-01-08 12:18:10 +02:00
Aaron King
c2869cee5d
Fix issue 1226: IE10 "Invalid argument" error in version 0.5 defining retina
...
https://github.com/CloudMade/Leaflet/issues/1226
Credit to dreamfall for the fix.
2012-12-31 10:39:24 -08:00
Vladimir Agafonkin
590bbd9ba7
Merge pull request #1245 from danzel/ie
...
Re-add L.Browser.ie as it is used in debug\vector\geojson.html(113).
2012-12-28 04:49:46 -08:00
Vladimir Agafonkin
733666bcab
Merge pull request #1240 from brianherbert/allow-null-geojson
...
Allow null GeoJSON geometries.
2012-12-28 04:49:31 -08:00
Brian Herbert
971e55b911
Simplifying condition for null geojson geometries.
...
Used feedback from @mourner to make the change from the pull request
#1240
2012-12-28 11:56:19 +09:00
danzel
f57e2eadcb
Re-add L.Browser.ie as it is used in debug\vector\geojson.html(113). Fixes #1242
2012-12-28 11:21:23 +13:00
Vladimir Agafonkin
e825b32cf8
Merge pull request #1244 from danzel/fix-events
...
Change marker click tracking. Only care if the map has been dragged if we are not draggable.
2012-12-27 13:53:55 -08:00
snkashis
b2e3f16b54
pass the clicked obj, not the map.
2012-12-27 15:37:57 -05:00
Vladimir Agafonkin
5109492a35
Merge pull request #1231 from snkashis/fix_wms_params
...
handle existing query strings for WMS urls , #973
2012-12-27 11:42:31 -08:00
snkashis
6b4f5c4cf7
handling no existingUrl scenario
2012-12-27 14:39:19 -05:00
jerel
c63e3721cb
This modifies the Android WebView phantom click workaround.
...
Previously it was blocking when an element had multiple click listeners
because those events were fired rapidly. Since Android fires its second
click at approximately 300ms after the first we do a check to make sure
that at least 100ms has elapsed but not more than 400ms.
2012-12-27 00:40:41 -06:00
Brian Herbert
2a38a809d3
Allow null GeoJSON geometries.
...
This change checks if a geometry/ies in GeoJSON are set as null, in
which case it will skip it.
2012-12-27 12:15:08 +09:00
snkashis
8d442b1630
cleanup to match convention
2012-12-26 10:33:11 -05:00
Mehmet Alkanlar
f2b9a3a32e
Fixed issue with Polyline.Edit remove hook.
2012-12-24 17:35:33 -08:00
snkashis
8c7c06431a
handle existing query strings for WMS urls , #973
2012-12-22 17:47:38 -05:00
Yohan Boniface
952f9289c3
Eventlistener is Path._openPopup not Path.openPopup
2012-12-21 18:13:45 +01:00
jerel
0919b25cd6
This makes sure we only do the Android duplicate click workaround on Android
2012-12-21 08:37:13 -06:00
jerel
cf94612f6b
Fixes #1041 , Android WebView triggers two clicks at once. This calls
...
L.DomEvent.stop(event) on the second if two clicks are triggered within 400ms
of each other. Double click is unaffected however.
There are other workarounds that focus on _fireMouseEvent(), however I had to
resolve it at the click event level as my map, markers, controls, were all
affected.
2012-12-21 01:54:15 -06:00
danzel
73dd7371d0
Change marker click tracking. Only care if the map has been dragged if we are not draggable.
...
If we are draggable and we get a possible click then we don't need to care if the map was dragged as we would have been handling the drag.
Fixes #1223
2012-12-21 14:40:09 +13:00
Vladimir Agafonkin
b9727d9190
made up my mind about comment format, add some more comments
2012-12-20 12:37:40 +02:00
Vladimir Agafonkin
b0e5c817a9
more comments and cleanup
2012-12-19 18:47:28 +02:00
Vladimir Agafonkin
d4432882ba
use lightweight classes for LatLngBounds and Bounds
2012-12-19 18:46:44 +02:00
Vladimir Agafonkin
51aa31fa8a
cleanup keyboard maxbounds
2012-12-19 16:41:13 +02:00
Vladimir Agafonkin
7abf1a24ef
Merge pull request #1221 from snkashis/keypress_bounds
...
Check bounds when navigating with keyboard. #989
2012-12-19 06:31:50 -08:00
Vladimir Agafonkin
7cfafe6012
Merge pull request #1222 from jacobtoye/aopfix
...
Fix callInitHooks so child initHooks aren't called for parent classes
2012-12-19 03:27:28 -08:00
snkashis
38c4d9dd56
Check bounds when navigating with keyboard. #989
2012-12-18 14:17:18 -05:00
jacobtoye
7b05307304
Change method for calling an objects initHooks to crawl up parents.
2012-12-18 17:05:39 +13:00
Vladimir Agafonkin
c6caf93c00
refactor build scripts, cleanup
2012-12-17 19:15:19 +02:00
Vladimir Agafonkin
6134a41554
jshint fixes and cleanup for uglifyjs2
2012-12-12 19:09:47 +02:00
Vladimir Agafonkin
5f467337f6
move editing stuff out of Polyline.js into Polyline.Edit.js
2012-12-12 18:24:44 +02:00
Vladimir Agafonkin
dea6a349c0
add Path add event
2012-12-12 18:24:05 +02:00
Vladimir Agafonkin
406ff71013
add missing semicolon
2012-12-12 18:23:35 +02:00
Vladimir Agafonkin
40b59b2a85
add ability to call init hooks manually in the constructor
2012-12-12 17:48:30 +02:00
Vladimir Agafonkin
1c14bf7b97
make Transformation class more lightweight
2012-12-12 17:46:21 +02:00
Vladimir Agafonkin
a089cd4337
fix regression in GeoJSON resetStyle, close #1112
2012-12-12 15:42:21 +02:00
Vladimir Agafonkin
9f50141e8a
update build
2012-12-12 14:20:08 +02:00
Vladimir Agafonkin
58a82d09fa
fix WMS tile wrapping regression, close #970
2012-12-12 13:19:24 +02:00
Vladimir Agafonkin
782e8e7dcf
implement hooks for Class constructors (AOP-style), close #1123
2012-12-12 12:26:33 +02:00
danzel
e22a7c5ef0
Another pass at the icon. Moved the mid point of the circle down half a pixel to improve the roundness. Tweaked the size of the white circle to better match the old one.
2012-12-12 09:54:23 +13:00
Vladimir Agafonkin
30a3edb393
simplify zoom animation calculations a bit
2012-12-11 20:19:16 +02:00
Vladimir Agafonkin
b4770906b3
tweak simple projection, add debug file
2012-12-11 20:18:54 +02:00
Vladimir Agafonkin
3051b22a88
add Bounds getSize method
2012-12-11 20:14:17 +02:00
Vladimir Agafonkin
edeea11919
fix GeoJSON resetStyle not fully resetting, close #1112
2012-12-11 17:16:39 +02:00
Vladimir Agafonkin
df03016f0c
fix infinite recursion in latLngBounds factory, close #933
2012-12-11 17:03:33 +02:00
Vladimir Agafonkin
f5cfab73a1
remove LatLng coords wrapping/clamping, add explicit LatLng wrap method
2012-12-11 15:02:47 +02:00
Vladimir Agafonkin
b9d0d60a04
disable worldCopyJump by default, minor cleanup
2012-12-11 15:02:15 +02:00
Vladimir Agafonkin
f203c244d4
fix text selection regression, #1193 , #892
2012-12-11 11:44:06 +02:00
danzel
217a0d5148
Move marker svg to src/images/marker.svg
2012-12-11 14:53:14 +13:00
danzel
946a9df5f9
Add iconRetinaUrl and shadowRetinaUrl to set urls for retina icons. Add a retina version of the default icon and use it.
2012-12-11 14:49:45 +13:00
Vladimir Agafonkin
c05e15f956
fix chaining in marker methods, close #1176
2012-12-10 18:22:19 +02:00
Vladimir Agafonkin
236b8fbbf0
Merge pull request #1205 from mohlendo/master
...
Fixes Issue 1204: Adds the border width to the viewport offset calculation
2012-12-10 08:06:24 -08:00
Vladimir Agafonkin
96e4c80c75
revert clearing map div contents, fix positioning, close #278 again
2012-12-10 17:57:04 +02:00
Vladimir Agafonkin
7ae4459dd3
Fix rectangle having duplicate last point, close #1185
2012-12-10 17:42:43 +02:00
Manuel Ohlendorf
cf883a036d
fix indentation: use tabs instead of spaces
2012-12-07 11:05:38 +01:00
Manuel Ohlendorf
94a8b19f11
fixes Issue 1204: border width is now added to viewpoint offset calculation
2012-12-06 13:25:17 +01:00
Scott Harvey
9b7c005ccf
Removing temporary swap file that has accidentally added to previous commit
2012-12-04 14:09:00 +00:00
Scott Harvey
e85a6a7aff
Added the getPopup function to L.Marker
2012-12-04 12:21:33 +00:00
Jon Stevens
4ba1bbcdd7
fix for issue #892 , second time around.
2012-11-30 12:03:20 -08:00
Vladimir Agafonkin
7f44313fad
Merge pull request #1189 from danzel/canvas-fixes
...
Always set canvas alpha. Fixes #1186
2012-11-29 15:01:19 -08:00
danzel
3b2393bd93
Always set canvas alpha. Fixes #1186
2012-11-30 11:31:22 +13:00
danzel
babbbe829e
Re-order zoom end so we completely stop the zoom before getting people to redraw. Otherwise firefox will animate the canvas redrawing which is totally weird. Fixes #1187
2012-11-30 11:27:12 +13:00
mourner
1d14b0c50d
fix code style issues #1159 , update build
2012-11-29 22:43:40 +02:00
Vladimir Agafonkin
0c5f401220
Merge pull request #1159 from moonlite/master
...
First stab at a fix for Issue 623
2012-11-29 06:44:25 -08:00
Vladimir Agafonkin
e2daa349b1
Merge pull request #1169 from tomhughes/layers
...
Update the Layers control when layers are added or removed
2012-11-23 17:18:42 -08:00
Tom Hughes
0b2a31c1fe
Update the Layers control when layers are added or removed
2012-11-24 00:33:57 +00:00
dreamfall
56f3f7ca07
fix error in initializing map on hidden iframe in Firefox
2012-11-23 18:23:59 +03:00
Yohan Boniface
944d197690
Return created HTML element in Control.Layers._addItem
...
Goal is to make easier and DRYer to customize layer HTML item
when extending Control.Layers class
2012-11-21 16:06:20 +01:00
OriginalSin
43794a3ea9
Update src/layer/tile/TileLayer.js
...
this should solve first problem in #1089 (http://jsfiddle.net/Q3SFZ/1/ )
2012-11-21 16:11:51 +04:00
jfgirard
d23af35310
fix undefined error use cases
2012-11-20 06:38:11 -05:00
danzel
0033496b58
jshint happy
2012-11-20 09:38:14 +13:00
danzel
63ad64cb7a
Use invoke to make this code smaller.
2012-11-20 09:36:23 +13:00
Mattias Bengtsson
c0135a219d
Added a bunch of tests and fixed some bugs those exposed.
...
Also don't try to automatically adjust zoom. Leave that to the
layer control for now and wait for a setBaseLayer / switchLayer
or something instead.
2012-11-19 04:36:13 +01:00
Mattias Bengtsson
6f1532f402
Fix for https://github.com/CloudMade/Leaflet/pull/623
...
There seems to be a timing bug though.
2012-11-18 22:07:27 +01:00
danzel
b28b6da924
Add setZIndex to LayerGroup to allow LayerGroups to work better with the layers control. Fixes #1096
2012-11-19 09:58:28 +13:00
Vladimir Agafonkin
07eb3b4c8d
fix dashArray in IE, closes #1091
2012-11-18 17:55:28 +04:00
snkashis
7a6f2c2e7c
filter out the last point of a polygon to account for GeoJSON compatibility
2012-11-16 19:33:41 -05:00
danzel
5e35553361
Code tidyups from mourners feedback.
2012-11-16 11:28:01 +13:00
danzel
0efa63500c
Fix up 2 places where L.Draggable.START hadn't been updated for it being an array (thanks mourner)
2012-11-16 10:57:29 +13:00
danzel
41a85b0128
Only wire move/end listeners for the thing we want to listen to.
...
Stops potential bug:
User touches on device, user moves mouse. These mouse move events would have panned the map, now they won't.
2012-11-16 10:57:28 +13:00
danzel
04908cee8d
Always enable scrollWheelZoom (fixes scroll wheel zoom on mouse+touch devices)
2012-11-16 10:57:28 +13:00
danzel
46b7d97298
Get doubleclick on touch&mouse devices working. We need to add a touch doubletap emulator and a normal doubleclick listener
2012-11-16 10:57:27 +13:00
danzel
cb9407ffee
Sort of working Draggable support for touch+mouse devices.
2012-11-16 10:57:26 +13:00
Vladimir Agafonkin
c37e755832
stop mousewheel propagation in layers control, related to #845
2012-11-14 16:50:04 +02:00
Vladimir Agafonkin
b2d6575445
update build
2012-11-14 15:13:08 +02:00
Vladimir Agafonkin
c33a4013a2
make zoom buttons disabled when reaching min/max, closes #917
2012-11-14 15:12:31 +02:00
Vladimir Agafonkin
469211d0cf
fix slight scrolling zoom bug, closes #1039
2012-11-14 14:46:17 +02:00
Vladimir Agafonkin
10c0a63b3d
fixed non-rounded panBy, closes #1085
2012-11-14 14:39:59 +02:00
Vladimir Agafonkin
91aecd376b
add Marker contextmenu event
2012-11-14 14:07:59 +02:00
Vladimir Agafonkin
eba4eb0a5c
fix shift-click on the map
2012-11-14 14:07:36 +02:00
Vladimir Agafonkin
b3826358d5
add Point equals method
2012-11-14 14:07:17 +02:00
Vladimir Agafonkin
9770054240
update build
2012-11-13 16:50:00 +02:00
Vladimir Agafonkin
8c6c3fd9e7
Merge branch 'master' of github.com:CloudMade/Leaflet
2012-11-13 16:48:42 +02:00
Vladimir Agafonkin
2fadc94ec3
new zoom control look, various style fixes and cleanup
2012-11-13 16:48:25 +02:00
jfgirard
60d0d439f1
code convention
2012-11-12 13:34:31 -05:00
jfgirard
471816120b
use a property for index length because its slow to get the first property or get the length of a hash.
2012-11-12 13:22:28 -05:00
jfgirard
ab85108836
Path CANVAS adds a click event if clickable but do not clear it on remove. This adds the necessary remove listener.
2012-11-12 11:11:16 -05:00
jfgirard
db8056df45
store the event listeners using a hash if the context have a leaflet_id.
...
When removing a layer,the slowest part was to remove the event from the map. For each event, the removeEventListener method had to loop the whole list. With thousand of layers, it become very slow to do. With a hash used has an index to find event listeners for a given leaflet id, its no more an issue.
2012-11-12 11:10:03 -05:00
Pascal Borreli
9546599520
Fixed typos
2012-11-09 23:15:48 +00:00
Vladimir Agafonkin
9e37766c96
update version to 0.5
2012-11-09 23:52:11 +02:00
Vladimir Agafonkin
e4ec9a8967
fix bug in #1131 , update build
2012-11-09 16:27:56 +02:00
danzel
6fbf2a21bf
Move reflow into PosAnimation.stop so users don't have to implement it themselves.
2012-11-09 16:13:52 +13:00
Vladimir Agafonkin
d37680735f
rewrite and tweak inertia easing to make it smoother
2012-11-08 19:20:40 +02:00
danzel
128b615a08
Force a reflow when stopping a PanAnimation to start a ZoomAnimation so that the svg animation works correctly. Fixes #1125
2012-11-08 15:49:39 +13:00
Vladimir Agafonkin
dbd4da6255
add shortcuts for extend, bind, stamp and setOptions
2012-11-07 20:30:56 +02:00
Vladimir Agafonkin
7517cbcd53
fix typos and regression in #1122
2012-11-07 19:21:21 +02:00
Vladimir Agafonkin
ed0686996a
and some more whitespace fixes
2012-11-07 19:14:25 +02:00
Vladimir Agafonkin
2b225cc3a8
more whitespace fixes
2012-11-07 18:46:59 +02:00
Vladimir Agafonkin
9e70816030
Merge branch 'master' of github.com:CloudMade/Leaflet
2012-11-07 14:13:33 +02:00
Vladimir Agafonkin
a293f52e80
different whitespace fixes (smart tabs, lines no longer than 100)
2012-11-07 14:13:06 +02:00
jacobtoye
6c4221fe04
Added 'layeradd' and 'layerremove' events to LayerGroup.
2012-11-06 15:37:36 +13:00
danzel
1a2764ae0a
mousemove events need to propagate through path layers otherwise you cannot drag the map through them. Refs #1046
2012-11-06 10:28:34 +13:00
danzel
c03ff65bc4
Dragging a marker should not make a map click event.
2012-11-05 10:27:40 +13:00
Vladimir Agafonkin
4080a64adc
update website link, update build
2012-11-02 15:16:17 +02:00
Vladimir Agafonkin
bfc94d3176
add Path closePopup method, fix a couple of issues
2012-10-31 15:34:19 +02:00
alexanderd
1c597e4cf4
Use proper factory call for bounds option
2012-10-31 13:06:33 +02:00
Vladimir Agafonkin
307c9d9953
Merge pull request #955 from danzel/longpress
...
Add LongPress support to mobile.
2012-10-31 01:00:13 -07:00
danzel
edaa1bbcec
Disable longPress contextmenu emulation on msTouch, it natively fires its own contextmenu event after a longpress is released.
2012-10-31 13:26:56 +13:00
danzel
081edc283e
Rename timeout to match other vars
2012-10-31 13:25:29 +13:00
danzel
5f960721d9
Use L.Util.bind instead of var self.
2012-10-31 13:11:16 +13:00
danzel
3aeff55f24
Rename contextMenuEmulation -> longPress
2012-10-31 13:05:38 +13:00
Vladimir Agafonkin
7ed96d6ed1
fix TileLayer.Canvas drawTile zoom argument
2012-10-31 02:02:12 +02:00
danzel
9783d9ba22
Cancel contextMenu emulation timeout if >1 touches happen (Put them down for a touch zoom and didn't move them for example)
2012-10-31 12:59:59 +13:00
danzel
514908f812
Stop touchStart propagation in Draggable. Without this dragging marker will fire a contextmenu event on touch as the map gets a touch start/end event but none of the moves.
2012-10-31 12:59:58 +13:00
danzel
1aff46cb27
Rewrite longpress->contextmenu to live inside Draggable instead as it needs deep interaction with it. When an emulated contextmenu is fired on touch we stop dragging and stop a click event from occurring. New map option to disable it if required: touchContextMenuEmulation
2012-10-31 12:59:58 +13:00
danzel
d3d85198e2
Need to clone the x/y of the touch as the actual object gets updated. This fixes contextMenu occurring while touch panning the map.
2012-10-31 12:58:59 +13:00
danzel
d133c86b51
Add LongPress support to mobile. Fires a contextmenu event after a single press without movement of 1 second
2012-10-31 12:58:58 +13:00
Vladimir Agafonkin
8077faa2e3
refactor and cleanup marker bringToFront option
2012-10-31 01:25:03 +02:00
Vladimir Agafonkin
b0a911516f
Merge pull request #914 from jacobtoye/MarkerBringToFront
...
Bring markers to front when mouseover
2012-10-30 16:09:55 -07:00
Vladimir Agafonkin
ae7561ec6b
Merge pull request #1100 from danzel/rtl
...
RTL Fixes round 2
2012-10-28 16:15:59 -07:00
danzel
d1a1f1748a
Make jshint happy
2012-10-29 11:49:51 +13:00
danzel
eecd28e570
Make getStyle work for ie < 9. Make IE<=7 support RTL too.
2012-10-29 11:46:40 +13:00
danzel
6b181f697a
Add ie7 browser detection :(
2012-10-29 11:44:05 +13:00
danzel
b6ae1259f0
Text alignment
2012-10-29 11:11:14 +13:00
danzel
9b5d25ae7f
Only apply scrollWidth/clientWidth for webkit. Other browsers handle it differently.
2012-10-29 11:06:22 +13:00
danzel
126a316916
Cache remembering if the document is Left to right. Do it at the document level rather than the element level as it isn't likely to change.
2012-10-29 10:48:01 +13:00
Vladimir Agafonkin
13d06fccf6
Merge pull request #1099 from danzel/rtl
...
RTL improvements. Fixes #1095
2012-10-28 14:28:46 -07:00
danzel
c649a4fd92
Update L.DomUtil.getViewportOffset to support dir="rtl"
...
Fix css element positioning when rtl.
Fixes #1095
2012-10-29 10:18:38 +13:00
danzel
ef42973682
If a popup is removed from the map during viewreset we still try to remove it from the map, check we are still on the map first. Fixes #1094
2012-10-29 09:39:45 +13:00
Calvin Metcalf
0529a92589
GeoJSON GeometryCollection passes consisent params to pointToLayer
2012-10-27 22:10:20 -04:00
alexanderd
d5c1e4d251
Better parameter handling for TileLayer bounds
2012-10-27 23:10:13 +03:00
alexanderd
ceeb1f8a93
Rename TileLayer.options.tileBounds to bounds
2012-10-21 03:47:06 +03:00
Brian Hatchl
0a2697c4b6
fixed bug where wms tilesize option was ignored when setting
...
wms params width and height
2012-10-19 13:57:18 -04:00
Vladimir Agafonkin
430092c48e
fix typo in browser detection
2012-10-19 14:57:39 +03:00
Vladimir Agafonkin
335b7f46eb
clean up browser detection
2012-10-18 18:43:03 +03:00
Vladimir Agafonkin
5fa25c28a4
simplify vector animation, @danzel check it out lol
2012-10-18 16:38:31 +03:00
danzel
816b53f2de
jshint happiness
2012-10-18 14:23:18 +13:00
danzel
c6be039326
Fix up DoubleTap in ie10 emulation mode bailing as touches isn't set (which it of course isn't!)
2012-10-18 14:23:17 +13:00
danzel
f373d6b0d4
The internal MSPointerUp/Cancel listener should be set on the document and never let go otherwise we can miss MSPointerUp events.
2012-10-18 14:23:17 +13:00
danzel
1bf755dce3
Fix up double tap listener with ie10. We listen for up events on the document so that we get all of them, otherwise we will miss some and mess up our touch coun tracking.
2012-10-18 14:23:16 +13:00
danzel
31542bd932
Remove debug logs
2012-10-18 14:23:16 +13:00
danzel
84d5f614da
Fix up my stupidness with add/removeEventListener. Fixes the zoom drag off screen bug without needing the work around
2012-10-18 14:23:15 +13:00
danzel
af2318afaa
Ensure we still fire the dragend event. Move click simulation until after the drag has finished (clicking during a drag seems weird).
2012-10-18 14:23:14 +13:00
Marcel Sulek
ba22cc28b2
IE10 - fix of not simulating clicks even when drag was within TAP_TOLERANCE
...
(cherry picked from commit b7e84aed9b77c51e2a4698251bf38ccf46b82dc7)
2012-10-18 14:23:14 +13:00
danzel
fc3a36d39c
Remove duplicate comment
2012-10-18 14:23:13 +13:00
Marcel Sulek
63f24a91cc
IE10 double-tap fix - binding touchEvent methods instead of deleting them
...
(cherry picked from commit ec2989e1331ded00d6dfd97263cba75e95d19f08)
2012-10-18 14:23:12 +13:00
danzel
b2945b5c94
Attempt a fix at the screen edge bug
2012-10-18 14:23:12 +13:00
danzel
8c1b1c83ba
Add listeners for MSPointerCancel, hopefully fixes remaining touch issues. Also fixes removeDoubleTapListener for all platforms
2012-10-18 14:23:11 +13:00
danzel
db6b0c60f8
JSHint happiness
2012-10-18 14:23:10 +13:00
danzel
a23f650069
Make DomEvent.DoubleTap support MSPointer* events. Had to track touch count manually and clone the object so we can change the type.
2012-10-18 14:23:10 +13:00
danzel
8bed7adb81
Make touch events work for IE10 using a wrapper approach (similar to DomEvent.DoubleTap). DoubleTap touch on IE10 doesn't currently work but everything else does. Refs #871
2012-10-18 14:23:09 +13:00
danzel
b93e04abe7
Add msTouch detection
2012-10-18 14:23:08 +13:00
danzel
4565965cb1
Fix boxzoom for ie7, was trying to set negative width which is a JS error
2012-10-16 15:00:00 +13:00
Vladimir Agafonkin
fe73b355c4
precision argument for LatLng toString
2012-10-15 11:39:46 +03:00
Vladimir Agafonkin
cca3180f30
fix Circle getBounds, closes #1068
2012-10-15 11:39:07 +03:00
Vladimir Agafonkin
09060ff163
Merge pull request #1055 from aparshin/layers-control-html
...
Allow HTML in Layer Names (issue #1009 )
2012-10-15 00:58:22 -07:00
Marc Jansen
ebc7e9a18a
Add missing semicolon.
2012-10-15 10:10:11 +03:00
John Firebaugh
0b4d2b0c44
Add Map#whenReady
...
Fixes #1063
2012-10-12 12:54:13 -07:00
John Firebaugh
5ee7113fe4
Add a baselayerchange event
2012-10-12 12:19:21 -07:00
Alexander Parshin
cb44a6b428
fix indent symbols
2012-10-12 00:05:47 +04:00
danzel
b596383f45
Fix tile zoom animation in latest chrome canary and remove the translate(0,0) hack for other browsers as this fixes it too :-) Fixes #1056
2012-10-11 12:48:20 +13:00
Alexander Parshin
20915a83fa
Allow HTML in Layer Names (issue #1009 )
2012-10-10 03:05:12 +04:00
Adam Stull
a22ce7ee50
Allow pointer-events to be set via options passed to shape
2012-10-09 13:31:02 -04:00
jacobtoye
95fc1f0fef
Add latlng to 'move' event triggered on marker when marker is dragged.
2012-10-09 16:12:04 +13:00
jacobtoye
6279e99272
Bring _onDrag method in line with normal Leaflet coding conventions.
2012-10-09 16:10:36 +13:00
jacobtoye
939adbcf87
Fix up event handler method typo after movePopup rename.
2012-10-09 15:18:02 +13:00
danzel
9b56d31b24
More tidyups for #1046
2012-10-09 09:23:15 +13:00
Dave Leaver
a904c319f9
Merge pull request #1046 from inpursuit/bug/2
...
Vector layers do not stop propagation of mouse events that they fire
2012-10-08 13:11:51 -07:00
Vladimir Agafonkin
c178674948
Merge pull request #1038 from jacobtoye/popupdecouple
...
Decouple the closePopup and movePopup from L.Marker
2012-10-08 09:06:24 -07:00
Adam Stull
f844237a87
Stop propagation of mouse event
2012-10-08 11:54:36 -04:00
jacobtoye
d7daa5e8a8
Making movePopup private.
2012-10-08 08:46:30 +13:00
Vladimir Agafonkin
ec16ea8ace
Merge pull request #1027 from jfirebaugh/loaded
...
Order-of-initialization problem with setView()/getBounds()/moveend
2012-10-05 12:13:42 -07:00
Vladimir Agafonkin
85d350e322
Merge pull request #1033 from danzel/fix-events
...
Allow click events to propogate through
2012-10-05 08:11:34 -07:00
Vladimir Agafonkin
5ab91941ff
do not detect VML if SVG is supported, related to #870 comments
2012-10-05 16:37:15 +03:00
jacobtoye
fcf9b6cafe
Adding unbindPopup method to L.Path.
2012-10-05 16:43:36 +13:00
jacobtoye
720068bd70
Make sure popup is closed when Path is removed from map.
2012-10-05 16:35:08 +13:00
jacobtoye
eba37ae47a
Unbind the remove and move event handlers when we unbind the popup.
2012-10-05 16:29:22 +13:00
jacobtoye
4da0cb0104
Refactor closing and moving a marker's popup.
2012-10-05 14:19:37 +13:00
John Firebaugh
fbf91fef54
Ensure that getBounds can be called during the first moveend event
...
Fixes #1027
2012-10-04 14:02:46 -07:00
danzel
f435217301
Allow click events on Marker elements to fall through if they are not handled.
2012-10-04 10:13:30 +13:00
danzel
53f57cb45f
Allow click events on Path.SVG elements to fall through if they are not handled.
2012-10-04 10:12:57 +13:00
danzel
28f067ce73
Allow SVG Path click propogation. Fixes #834
2012-10-04 09:59:37 +13:00
danzel
734ea2fdbf
Fix deleting 2 end nodes from a poly line. Fixes #1022
2012-09-28 10:46:57 +12:00
Fleur Kelpin
bd8d5ff712
radius is part of CircleMarker style so should be changeable in using
...
setStyle();
2012-09-23 15:50:51 +02:00
Waldir
81c2bf93ca
Fix #916
2012-09-23 15:06:44 +02:00
danzel
801734b0c3
IE needs translate(0,0) hack to animate right too. Fixes #870 . (Fix found by oliverheilig, thanks!)
2012-09-21 09:29:09 +12:00
Vladimir Agafonkin
60444c20bf
Merge pull request #972 from domoritz/master
...
IsValid for Bounds and LatLngBounds
2012-09-11 05:14:26 -07:00
Dominik Moritz
f8d6e7052e
Implemented isValid() function for Bounds and LatLngBounds. Fixes issue #966 . Added specification.
2012-09-11 12:43:16 +01:00
Vladimir Agafonkin
c92201862c
update build and changelog, do not prevent tile loading on pan animation
2012-09-11 12:42:00 +03:00
Vladimir Agafonkin
622060d336
Merge pull request #968 from danzel/tilelayer-fixes
...
TileLayer fixes - Removing a TileLayer while dragging
2012-09-11 02:36:28 -07:00
Vladimir Agafonkin
14a9d9e029
Merge pull request #963 from danzel/zindex
...
Correct TileLayer zIndex behaviour on bringToBack
2012-09-11 02:34:11 -07:00
Vladimir Agafonkin
1933ae157c
Merge pull request #961 from danzel/canvas-fixes
...
Optimize _requestUpdate in Path.Canvas.
2012-09-11 02:32:34 -07:00
Vladimir Agafonkin
4ed3c97bcd
fix various master regressions
2012-09-11 12:33:54 +03:00
Alexander Dimitrov
03f48cc859
Add tile bounds option to limit tile loading to a given region
2012-09-11 11:59:33 +03:00
danzel
fcddcd065f
Fix up issues reported by mourner https://github.com/CloudMade/Leaflet/pull/961/files#r1508267
2012-09-03 10:50:42 +12:00
danzel
7c59bef67a
Fix for removing a TileLayer while dragging the map. Would be nicer if we could disable a limitExecByInterval, but this works.
2012-09-03 09:07:31 +12:00
danzel
21be460719
Correct zIndex behaviour (Previously if you had 2 layers, neither of which had a zindex we'd set the zIndex to 0 on bringToBack and not remember it. On zoom it would revert). Add a test page for tile layer zIndex. Refs #959
2012-08-31 10:50:15 +12:00
danzel
7059f27d6a
Optimize _requestUpdate in Path.Canvas. Don't repeatedly request and cancel animation frames (previous code wasn't actually canceling the requests anyway!).
2012-08-29 10:15:40 +12:00
jacobtoye
ad4df84fdc
Fixing jshint error
2012-08-22 10:42:08 +12:00
jacobtoye
2f4275fdd8
Remove unnecessary comment.
2012-08-17 16:27:10 +12:00
jacobtoye
74f0d5fe95
Set the icons z-index to show in front after zoom.
2012-08-17 16:24:24 +12:00
jacobtoye
e057e189ce
Make icons appear on top of others on mouse over.
2012-08-17 15:25:03 +12:00
Vladimir Agafonkin
d88e711591
Merge branch 'master' of github.com:CloudMade/Leaflet
2012-08-14 12:21:55 +03:00
Vladimir Agafonkin
c18dd9b38f
fix touch zoom regression
2012-08-14 10:50:49 +03:00
Vladimir Agafonkin
873f986f55
fix default icon anchor
2012-08-13 16:07:54 +03:00
Vladimir Agafonkin
9625cdbbb9
fixed glitches with zooming on pan animation and panning on zoom animation
2012-08-13 15:41:20 +03:00
Vladimir Agafonkin
fd22f9f88a
improved scroll wheel zoom to be more responsive
2012-08-13 15:38:26 +03:00
Jon Stevens
1e363f29f1
null check setting of document.onselectstart
2012-08-10 13:20:48 -07:00
mourner
0bdc48a864
improve zoom control (shift-clicking)
2012-08-10 23:11:28 +03:00
mourner
8980f2d224
minor code cleanup, more destructive point operations
2012-08-10 22:40:55 +03:00
mourner
7627d39700
improve PosAnimation code a bit
2012-08-10 21:50:00 +03:00
mourner
578f18ecfb
adjust panning inertia more
2012-08-10 21:49:37 +03:00
Vladimir Agafonkin
11d4448634
optimize requestAnimFrame for IE6-8
2012-08-10 18:44:02 +03:00
Vladimir Agafonkin
2d2fc74110
get rid of the legacy L.Transition, replace with a better and simpler L.PosAnimation
2012-08-10 18:43:46 +03:00
Vladimir Agafonkin
fe9516579e
check if path is already in front in bringToFront, same for bringToBack
2012-08-08 12:17:10 +03:00
Vladimir Agafonkin
2aa30376db
fix IE9 regression (sorry!)
2012-08-07 18:43:52 +03:00
Vladimir Agafonkin
2109713511
fix iOS pinch-zoom regression and update build
2012-08-07 12:24:32 +03:00
Vladimir Agafonkin
9bc31e0f22
update build and changelog for 0.4.3
2012-08-07 11:56:11 +03:00
Vladimir Agafonkin
9e89753c74
Remove Win/Meta key to zoom out binding, fix #869
2012-08-06 19:00:48 +03:00
Vladimir Agafonkin
f184df2c27
fix map panning inertia flicker on Chrome
2012-08-06 14:43:32 +03:00
Vladimir Agafonkin
0cca115ecb
Fix map to not animate on resize by default
2012-08-06 13:36:52 +03:00
Vladimir Agafonkin
c18c394147
Merge branch 'improve-geojson'
2012-08-06 13:34:22 +03:00
mourner
8d6301cf07
Add geojson setStyle and resetStyle methods, layer feature property
2012-08-04 10:56:14 +03:00
Vladimir Agafonkin
fc819e6f47
return this in Path bringToFront/bringToBack
2012-08-03 15:57:48 +03:00
Vladimir Agafonkin
2697462b87
add bringToFront and bringToBack to FeatureGroup
2012-08-03 15:09:02 +03:00
Vladimir Agafonkin
6f96435050
minor refactoring
2012-08-03 14:48:59 +03:00
danzel
8a3d508568
Tidy up comments
2012-08-03 09:29:47 +12:00
danzel
d9bafda0a8
Fix for android 2 tiles
2012-08-03 09:25:42 +12:00
Vladimir Agafonkin
e7f8a85836
Move tile layer transition to CSS, detect zoom transion end globally
2012-08-02 18:24:22 +03:00
Vladimir Agafonkin
96b759cb32
Remove android 2/3 hacks for TileLayer animation (we'll only support it for 4+)
2012-08-02 15:46:51 +03:00
Vladimir Agafonkin
cfc55281e4
merge stable, update build
2012-08-02 12:49:01 +03:00
danzel
8d4d347ec9
Fix setting opacity multiple times in oldie. Was disabling the filter if it should be enabled and vice-versa
2012-08-02 12:47:49 +03:00
Vladimir Agafonkin
1b88497f44
fix dragging cursor appearing to early on FF
2012-08-02 12:46:58 +03:00
danzel
f52251a5f5
Fix setting opacity multiple times in oldie. Was disabling the filter if it should be enabled and vice-versa
2012-08-02 11:31:20 +12:00
Vladimir Agafonkin
00ed2286cc
update version number and build
2012-08-01 18:35:42 +03:00
Vladimir Agafonkin
63a62213df
update version in the source
2012-08-01 14:23:43 +03:00
Vladimir Agafonkin
690c969bc0
cleanup layers control IE7 fix #861
2012-08-01 14:06:21 +03:00
danzel
9e61d26d8f
Radio buttons properly dynamically created in IE7 don't work, so the layers dialog doesn't work, do it this hacky way instead.
2012-08-01 14:05:17 +03:00
Vladimir Agafonkin
b3d6427a8a
cleanup layers control IE7 fix #861
2012-08-01 14:03:42 +03:00
danzel
a0ee757e2d
When removing a marker from a FeatureGroup, only remove the popup if it was put there by the FeatureGroup.
...
Refs danzel/Leaflet.markercluster#24
2012-08-01 13:07:57 +03:00
Vladimir Agafonkin
985850fcef
Merge pull request #862 from danzel/oldie-fixes
...
Fix Layers dialog in IE7
2012-08-01 03:06:55 -07:00
danzel
8c84b8a00c
Radio buttons properly dynamically created in IE7 don't work, so the layers dialog doesn't work, do it this hacky way instead.
2012-08-01 15:57:17 +12:00
danzel
7c94559355
When removing a marker from a FeatureGroup, only remove the popup if it was put there by the FeatureGroup.
...
Refs danzel/Leaflet.markercluster#24
2012-08-01 13:40:43 +12:00
Vladimir Agafonkin
10ffc863db
Merge pull request #857 from ajbeaven/AnimatedInvalidateSize
...
Added option to animate pan on invalidateSize()
2012-07-31 01:11:27 -07:00
Vladimir Agafonkin
a393cdec20
update build and changelog
2012-07-31 10:59:14 +03:00
mattcurrie
f3ef407814
Fix L.tileLayer.wms class factory
2012-07-31 12:05:30 +12:00
Andrew Beaven
2b27065c6b
Added option to animate pan on invalidateSize()
2012-07-31 11:59:06 +12:00
Olexandr Skrypnyk
031ee25377
Move isRetina
method from Util to Browser
2012-07-30 17:27:15 +03:00
Olexandr Skrypnyk
7b167a41dc
Detect retina support for a huge amount of devices by Thomas Fuchs
...
Tested on iOS, Android 2.x, Chrome for Android, Safari on MacBook Pro Retina, Firefox mobile (beta) for Android, Opera Mobile (Android).
2012-07-30 17:03:52 +03:00
Vladimir Agafonkin
e3b2b78558
fix incorrect calculation of scale by the scale control, closes #852
2012-07-30 16:45:58 +03:00
Vladimir Agafonkin
529cdb09a3
fix ugly marker shadows on iE8, closes #850
2012-07-30 12:54:44 +03:00
Vladimir Agafonkin
b2adb29cf1
fix canvas backend and holed polygons regression
2012-07-30 12:28:44 +03:00
mourner
e55e948986
update build
2012-07-30 01:39:13 +03:00
Juergen Treml
1a1205ea6e
Provide the hooks needed for writing plugins / extensions to scale control
...
Separate the creation of scales as well as the updating of them into
separate methods, which allows for plugins to overwrite these methods
in order to add an extra scale and update it.
Update style to support n scales instead of exactly one or two.
2012-07-29 14:10:03 +02:00
mourner
6437e653ee
fix array form polyline editing bug, update build
2012-07-29 02:22:18 +03:00
Tom Nightingale
6d36dba2dc
fix IE8 error with calling call() on window.clearTimeout()
2012-07-27 11:40:17 -07:00
Vladimir Agafonkin
4174390562
keyboard navigation cleanup, closes #646 #663
2012-07-27 15:10:17 +03:00
Vladimir Agafonkin
ccd6c2956f
Merge branch 'master' of https://github.com/ericmmartinez/Leaflet into keyboard
2012-07-27 14:18:46 +03:00
Vladimir Agafonkin
1f19f74fa6
Merge branch 'master' of github.com:CloudMade/Leaflet
2012-07-27 12:33:35 +03:00
Vladimir Agafonkin
cdfaad994f
more TileLayer and Control.Layers zIndex improvements, #309
2012-07-27 12:32:24 +03:00
Matt Currie
6142a8b74c
Add zIndex support to L.TileLayer
2012-07-27 14:12:40 +12:00
danzel
606fe257d9
Fix up zoom fixes on Touch, fake doubleTap handler wasn't returning itself, breaking the chaining. Remove the preventDefault on dblclick as it does nothing.
...
Turns out this fix doesn't prevent double tap on the zoom button on touch devices.
2012-07-27 09:12:58 +12:00
Vladimir Agafonkin
6965ad6729
Merge pull request #832 from danzel/zoom-fixes
...
Zoom fixes
2012-07-26 13:36:27 -07:00
mourner
b2d6ea5b44
fix #834 map drag over polygon bug
2012-07-26 23:20:39 +03:00
Vladimir Agafonkin
65aafc3a8f
fix VML remove/add losing styles issue, closes #830
2012-07-26 17:33:14 +03:00
Vladimir Agafonkin
54855494bb
renamed LayerGroup _iterateLayers to eachLayer
2012-07-26 14:56:21 +03:00
Vladimir Agafonkin
2df0a4c283
fix layers control factory and update build
2012-07-26 11:49:26 +03:00
danzel
871e8f8ee1
Stop double click on the zoom buttons moving the map. Fixes #818
2012-07-26 14:32:23 +12:00
danzel
8667f357f2
Make zooming straight in at the bottom level do nothing rather than moving half a pixel across with odd sized windows (which makes the whole screen look blurry in chrome). We need floor rather than round otherwise we move 1px in each direction.
2012-07-26 13:58:44 +12:00
Vladimir Agafonkin
19ed1859bd
fix no geolocation error handling
2012-07-25 19:51:51 +03:00
Vladimir Agafonkin
b5513f4dd0
add ImageOverlay bringToBack/Front, update build, closes #824
2012-07-25 17:36:14 +03:00
Vladimir Agafonkin
4ece350176
fix TileLayer.redraw and multiple layers issue, closes #814
2012-07-25 17:25:53 +03:00
Vladimir Agafonkin
3342e7c215
fix lint error and update build
2012-07-25 17:14:31 +03:00
Vladimir Agafonkin
3c70e3cb3b
removed scale dependency for copyWorldJump
2012-07-25 17:12:56 +03:00
Vladimir Agafonkin
c50aaabd6d
TileLayer refactoring, add loading event, update changelog, closes #177
2012-07-25 17:10:11 +03:00
Vladimir Agafonkin
55c35828a8
Fix jittery marker movement on pinch-zoom (removed position rounding)
2012-07-25 11:14:21 +03:00
Vladimir Agafonkin
183f36c1a9
improve pinch-zoom performance on mobile Chrome and Firefox
2012-07-25 11:13:36 +03:00
Vladimir Agafonkin
3201dd066a
cleanup setOpacity for IE
2012-07-25 11:08:51 +03:00
Andrew Beaven
c19ee48904
Fixes popups in IE8 and earlier
2012-07-25 16:30:21 +12:00
Vladimir Agafonkin
de835e3ce3
normalize dashArray in IE, update changelog
2012-07-24 18:11:49 +03:00
Vladimir Agafonkin
5a1e2a926f
make zoom animation cancel the resize moveend trigger
2012-07-24 17:55:48 +03:00
jacobtoye
ef03f4aed2
Added support for dashed strokes.
2012-07-24 11:48:44 +12:00
mourner
1da1041655
return this in more methods
2012-07-24 01:42:57 +03:00
mourner
d608222018
revert removing immediate option in reqAnimFrame
2012-07-20 21:34:21 +03:00
mourner
daf7a81f9c
merge changes
2012-07-20 21:16:41 +03:00
mourner
f1c4a1f554
refactor request/cancelAnimFrame
2012-07-20 21:15:07 +03:00
mourner
0cadad7a1d
remove shadowOffset, add shadowAnchor
2012-07-20 21:14:24 +03:00
jacobtoye
f6979ff96b
Added missing mouse events to FeatureGroup.
2012-07-20 14:09:05 +12:00
danzel
0b913df152
Re-Fix android tile unloading crash #137
2012-07-19 09:48:35 +12:00
Vladimir Agafonkin
85b9baa41f
slightly increase scroll-wheel-zoom responsiveness
2012-07-18 14:04:13 +03:00
Vladimir Agafonkin
33d9bc0cff
move L.Icon.Default to separate file, fix popup anchor
2012-07-18 13:55:49 +03:00
Vladimir Agafonkin
f446659325
fix whitespace
2012-07-18 13:52:24 +03:00
Vladimir Agafonkin
e9043f8cdb
Merge pull request #810 from danzel/shadow-opacity
...
Make Marker options.opacity/setOpacity set the Shadow opacity as well as the marker opacity
2012-07-17 00:42:31 -07:00
danzel
7019a2001e
Remove opacity parameter from _updateOpacity, unused.
2012-07-17 14:46:14 +12:00
danzel
dc067d3d7b
Make Marker.setOpacity set the opacity of the shadow also. Otherwise your shadow can end up more visible than your marker: setOpacity(0)
2012-07-17 14:45:49 +12:00
danzel
b663c7f442
Turns out the android browser has this issue too.
...
Change the hack to just use top/left if chrome is being used, otherwise use transform.
Hopefully chrome fixes their issue so we can use transform everywhere instead.
2012-07-17 11:58:04 +12:00
danzel
95afdee703
Take another go at safari tile layer fix hack. Add a test case for it so we don't forget about it.
2012-07-17 09:31:04 +12:00
Vladimir Agafonkin
c32319e3ba
Fix vector layer flicker on iOS, closes #18 (yay!)
2012-07-16 14:53:07 +03:00
Vladimir Agafonkin
0e03e868fc
Use transform3d tile positioning on iOS too, closes #800
2012-07-16 14:36:00 +03:00
Vladimir Agafonkin
0e4e02a1d3
fix popup so that tip shadow is not cut off
2012-07-16 14:22:05 +03:00
Vladimir Agafonkin
f99a4173fe
optimize canvas layers update, closes #732 , closes #785
2012-07-16 13:57:00 +03:00
Vladimir Agafonkin
6bc8ea6eb5
Merge branch 'master' of github.com:CloudMade/Leaflet
2012-07-16 12:39:48 +03:00
Vladimir Agafonkin
f4dcc0fbea
Merge pull request #805 from danzel/master
...
Position tiles with transform for safari to get around animation errors.
2012-07-16 00:14:30 -07:00
jacobtoye
770d2c899f
change second map mousedown to be mouseup
2012-07-16 15:34:55 +12:00
jacobtoye
661c6c6d1d
Revert "change second mousedown to be mouseup"
...
This reverts commit 3b6f57e233
.
2012-07-16 15:28:13 +12:00
jacobtoye
3b6f57e233
change second mousedown to be mouseup
2012-07-16 15:10:53 +12:00
danzel
4b001e6d19
Position tiles with transform for safari to get around animation errors.
2012-07-16 09:44:43 +12:00
Vladimir Agafonkin
ffe7f9dffe
Merge pull request #802 from Mithgol/master
...
Detect retina displays and adjust wmsParams.width and wmsParams.height accordingly
2012-07-15 06:01:52 -07:00
Mithgol the Webmaster
f9ea2728b7
fix CloudMade/Leaflet#789
2012-07-14 07:07:47 +04:00
Vladimir Agafonkin
649d439af9
only set popup opacity if fadeAnimation is true
2012-07-13 17:06:16 +03:00
Vladimir Agafonkin
c89f363767
Merge pull request #801 from lars-sh/master
...
Fixed basic XHTML problems.
2012-07-13 06:13:46 -07:00
Vladimir Agafonkin
ad4b8a2441
fix contextmenu event on path layers
2012-07-13 14:48:35 +03:00
Vladimir Agafonkin
444e0dba7c
scale control fixes, closes #674
2012-07-13 12:11:20 +03:00
Vladimir Agafonkin
7abe4c7d70
fix polyline error when it's removed on moveend
2012-07-13 11:36:11 +03:00
Lars Knickrehm
2248fb2d53
Fixed basic XHTML problems.
2012-07-13 01:47:19 +02:00
Vladimir Agafonkin
bd1510cec4
improve panning inertia, fix animation easings on IE
2012-07-12 17:46:17 +03:00
Vladimir Agafonkin
f4ecfe61fb
improve popup close button, get rid of the image, closes #631
2012-07-12 16:22:14 +03:00
Vladimir Agafonkin
275760352b
remove accidental console.log
2012-07-12 15:54:44 +03:00
Vladimir Agafonkin
532ff7232d
optimize map resizing
2012-07-12 15:53:58 +03:00
Vladimir Agafonkin
01e26a4cce
add Map mouseup event
2012-07-12 15:48:44 +03:00
Vladimir Agafonkin
4f8dc06097
add Popup openOn(map)
2012-07-12 15:46:52 +03:00
Vladimir Agafonkin
e9b47e9811
factories for controls and multipolys
2012-07-12 15:40:47 +03:00
Vladimir Agafonkin
c6bae3ee5c
support arrays in geojson addData
2012-07-12 15:37:43 +03:00
Vladimir Agafonkin
0814e18a81
fix popupAnchor array form
2012-07-12 15:35:22 +03:00
Vladimir Agafonkin
4edfaee008
Use feature detection instead of browser sniffing for opacity, #796
2012-07-12 10:31:21 +03:00
Vladimir Agafonkin
2a7e49bfe3
Merge pull request #797 from danzel/master
...
Fix JSHint issues with my last pull
2012-07-12 00:18:59 -07:00
danzel
863bed6797
FeatureGroup now checks if the given layer has already been added in addLayer before adding it
2012-07-12 17:02:14 +12:00
danzel
3b7d1761ee
JSHint happiness.
2012-07-12 16:09:48 +12:00