Commit Graph

2252 Commits

Author SHA1 Message Date
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
Vladimir Agafonkin
bd0bc4f2e5 fire load before viewreset/moveend 2013-04-20 12:07:00 +03:00
Vladimir Agafonkin
340dacde81 remove hasOwnProperty checks, close #1606 2013-04-20 11:32:23 +03:00
Vladimir Agafonkin
dfed54a00d Merge pull request #1607 from kristerkari/fix-js-lazyeval
Fix regexes that break Leaflet inside a multi line comment block, fixes #1288
2013-04-19 16:43:36 -07:00
Krister Kari
dc07a68ed0 Modify or replace regexes that break javascript lazy evaluation with multi line comments 2013-04-20 02:01:56 +03:00
Krister Kari
904bf581dd Add L.Util.trim 2013-04-20 01:57:57 +03:00
Vladimir Agafonkin
e47ca1178c update build 2013-04-19 20:17:13 +03:00
Vladimir Agafonkin
412f047533 Merge pull request #1462 from jfirebaugh/toGeoJSON
Add #toGeoJSON to various layer types (#712)
2013-04-19 09:55:40 -07:00
Vladimir Agafonkin
cdd61cebea update build 2013-04-19 19:48:21 +03:00
Vladimir Agafonkin
cb0d15bd7e optimize marker icon source with svgo 2013-04-19 19:47:28 +03:00
Vladimir Agafonkin
ad4f0e6184 rename retina marker image, close #1552, close #1553 2013-04-19 19:44:18 +03:00
Vladimir Agafonkin
ba4d356266 fix tilelayer load event #1565 2013-04-19 19:38:51 +03:00
Vladimir Agafonkin
b0d3e8bc25 fix typo 2013-04-19 18:13:37 +03:00
Vladimir Agafonkin
5647f37ae6 cleanup and merge #1596, adds Events#once 2013-04-19 17:23:45 +03:00
Vladimir Agafonkin
a5e8bc0f49 add Util.invokeEach for hash arguments in event methods 2013-04-19 17:23:14 +03:00
Vladimir Agafonkin
e01fe91a33 fix fitBounds for large bounds, close #1069, thanks to @MaZderMind 2013-04-19 15:43:39 +03:00
Vladimir Agafonkin
5ded0ba150 more draggable cleanup 2013-04-19 15:36:18 +03:00
Vladimir Agafonkin
81e2a33f7d cleanup draggable 2013-04-19 14:45:01 +03:00
Vladimir Agafonkin
d856e8814e don't animate if zoom difference is too large, close #1377
also adds zoomAnimationThreshold map option (defaults to 4)
2013-04-19 12:47:55 +03:00
Vladimir Agafonkin
2a0e284e72 bring autopanstart event back, close #1375 2013-04-19 11:51:59 +03:00
Vladimir Agafonkin
30fe673ca2 don't remove layer grom a group if it doesn't belong to it, close #1383 2013-04-19 11:44:33 +03:00
Vladimir Agafonkin
db6d689ad8 fix lots of maxBounds issues, close #1491, close #1475, close #1194, close #900, #1333 2013-04-18 17:05:47 +03:00
Vladimir Agafonkin
0b1bc7a94c add resize event, close #1564 2013-04-18 15:26:45 +03:00
Vladimir Agafonkin
b1a31fa5e4 fix tilelayer anim glitch, close #1548 2013-04-18 15:19:38 +03:00
Vladimir Agafonkin
55ed23c560 major changelog update 2013-04-18 12:43:40 +03:00
Vladimir Agafonkin
9b761b0ca1 more events code cleanup 2013-04-18 11:15:33 +03:00