Commit Graph

2327 Commits

Author SHA1 Message Date
Andrew Kirkegaard
44c1a594e1 removeLayer by id for FeatureGroups. 2013-05-04 16:24:02 -05:00
Andrew Kirkegaard
df2ef42fe4 getLayer by id. 2013-05-04 16:16:36 -05:00
Vladimir Agafonkin
f3584ff527 add optional popup argument to Map closePopup 2013-05-03 16:16:25 +03:00
Vladimir Agafonkin
f2d237b01c Merge pull request #1617 from Leaflet/setview-anim
Control animation in setView/panTo/setZoom/fitBounds/etc.
2013-05-03 02:12:21 -07:00
Vladimir Agafonkin
c376354fc8 Merge pull request #1642 from gumballhead/master
hasLayer and removeLayer by id.
2013-05-03 02:06:52 -07:00
Andrew Kirkegaard
6ea5984dc6 hasLayer and removeLayer by id. 2013-05-02 22:26:54 -05:00
John Firebaugh
c9e2453eed Bounds-check array access in Polygon#initialize 2013-05-02 16:17:04 -07:00
Dave Leaver
e032046119 Mention why aria-haspopup is required in the layers control 2013-05-01 08:24:19 +12:00
Vladimir Agafonkin
df72027401 accept true as a third setView argument for compatibility 2013-04-30 17:09:55 +03:00
Vladimir Agafonkin
5ab4d4a4be minor cleanup 2013-04-30 17:08:10 +03:00
Vladimir Agafonkin
260a869da6 accept global animate option in setView 2013-04-30 17:06:16 +03:00
Vladimir Agafonkin
8d759e6c5e clean up handlers and panes on map remove, close #1621 2013-04-30 16:51:51 +03:00
Vladimir Agafonkin
47dd2d9371 Merge pull request #1635 from danzel/master
Fix layers control on WinPhone8/IE10 Touch
2013-04-30 02:39:34 -07:00
danzel
87db54b65c Make jshint happy 2013-04-30 15:32:36 +12:00
danzel
d18f6249b2 Add aria-haspopup to layers dialog, fixes it not working on WinPhone8/IE10 Touch devices. Fixes #1539 2013-04-30 15:31:08 +12:00
Vladimir Agafonkin
4224b9a5ce Merge pull request #1633 from stuporglue/divicon_0
Allow value of 0 in L.DivIcon's html parameter
2013-04-29 05:25:33 -07:00
Michael Moore
c1919087fa Allow value of 0 in L.DivIcon's html parameter 2013-04-29 07:19:10 -05:00
Vladimir Agafonkin
8c7126af26 Merge pull request #1632 from tjoekbezoer/master
Issue #1631: Fixed a bug on removeEventListener
2013-04-29 05:15:52 -07:00
Daan Mortier
c6620859e4 Updated patch for issue #1631 based on feedback 2013-04-29 13:03:05 +02:00
Daan Mortier
52498f1ef9 Issue #1631: Fixed a bug on removeEventListener
Bugfix for issue #1631 where removeEventListener would throw when no event listeners are registered on the object.
2013-04-29 11:53:16 +02:00
Vladimir Agafonkin
b31c9d50b8 add latlng to marker mouse events data, close #1613 2013-04-24 22:34:22 +03:00
Vladimir Agafonkin
f139eea41a fix path canvas race condition, close #1615 2013-04-24 22:29:25 +03:00
Vladimir Agafonkin
ddabd1b445 wrap tile bounds when checking against layer bounds, close #1618 2013-04-24 22:26:52 +03:00
Vladimir Agafonkin
05bbb68cd8 rename zoom/panOptions to zoom/pan in setView options 2013-04-24 18:13:36 +03:00
Vladimir Agafonkin
9660f75642 update build 2013-04-24 17:10:59 +03:00
Vladimir Agafonkin
55d95d1362 options in view change methods, ability to turn on/off animation, closes #1616 2013-04-24 16:24:56 +03:00
Vladimir Agafonkin
c6e9702a08 fix bug that prevented tile loading during pan animation 2013-04-24 13:00:42 +03:00
Vladimir Agafonkin
323245ffc3 define Leaflet as an AMD module as well, close #1364 2013-04-23 13:20:19 +03:00
Vladimir Agafonkin
b61b7b4757 don't scroll to top of the map on focus, close #1228, close #1540 2013-04-23 11:57:42 +03:00
Vladimir Agafonkin
4f15e19d17 fix Popup autoPan regression 2013-04-22 19:23:14 +03:00
Vladimir Agafonkin
94098134a6 fix regression in Map hasLayer 2013-04-22 19:20:19 +03:00
Vladimir Agafonkin
113e55c62a better property name 2013-04-22 18:24:55 +03:00
Vladimir Agafonkin
6fa08d31c6 prevent setView after geolocation if called stopLocate, close #747 2013-04-22 18:24:11 +03:00
Vladimir Agafonkin
110bfb3a30 update build 2013-04-22 17:50:56 +03:00
Vladimir Agafonkin
557ebaad3c cleanup, utilize factories more 2013-04-22 17:49:03 +03:00
Vladimir Agafonkin
29239891d8 minor cleanup 2013-04-22 17:20:34 +03:00
Vladimir Agafonkin
83539136a7 normalize point in Point equals and contains methods 2013-04-22 17:16:14 +03:00
Vladimir Agafonkin
2ec3dc57c0 update build 2013-04-22 17:08:19 +03:00
Vladimir Agafonkin
eafa54635b simplify fitBounds-related code, fix typo 2013-04-22 17:06:42 +03:00
Vladimir Agafonkin
de0cd66f88 Add padding options for map.fitBounds/getBoundsZoom, close #859
Also make fitBounds accept ILayer, and fix bounds for fitWorld, close
#960
2013-04-22 15:21:30 +03:00
Vladimir Agafonkin
d91f56009b add popup open and close events, close #612 2013-04-20 17:18:17 +03:00
Vladimir Agafonkin
3caa19d613 add map.openPopup(content, latlng) convenience 2013-04-20 17:08:52 +03:00
Vladimir Agafonkin
9ac57e04f4 move Map control methods to Control.js 2013-04-20 17:04:17 +03:00
Vladimir Agafonkin
7cb7993571 simplify popup methods, merge #738 2013-04-20 16:58:42 +03:00
Vladimir Agafonkin
5c539bdebb fixed typo in GeoJSON coordsToLatLngs 2013-04-20 15:49:04 +03:00
Vladimir Agafonkin
96748cd5b0 add GeoJSON coordsToLatLng option, close #888, close #866 2013-04-20 15:45:04 +03:00
Vladimir Agafonkin
77efbb8765 add Popup keepInView option, close #1308 2013-04-20 14:50:33 +03:00
Vladimir Agafonkin
ff214407eb add ie and safari to jake test platforms 2013-04-20 13:44:31 +03:00
Vladimir Agafonkin
02ff217bac improve contribution guide, update tests/coverage notes 2013-04-20 13:27:16 +03:00
Vladimir Agafonkin
6fee334ff2 Merge branch 'master' of github.com:danzel/Leaflet
* 'master' of github.com:danzel/Leaflet:
  Add how to run the tests and get test coverage to CONTRIBUTING. Not my finest writing, but a start at least hopefully :-)
  Add the output of "jake test --cov" to gitignore.
2013-04-20 13:08:48 +03:00