Commit Graph

490 Commits

Author SHA1 Message Date
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
aa68310c00 update build 2012-07-12 15:55:30 +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
06787b8497 update build 2012-07-11 11:25:57 +03:00
Vladimir Agafonkin
bcc2c6f67f update changelog 2012-07-09 14:42:58 +03:00
Vladimir Agafonkin
410291cc2c update build 2012-07-06 12:58:10 +03:00
Vladimir Agafonkin
2746cc843e add addTo method to ImageOverlay, GeoJSON, LayerGroup, Popup 2012-07-05 16:53:32 +03:00
Vladimir Agafonkin
16cdb668b2 merge simplify-api 2012-07-05 16:24:42 +03:00
Vladimir Agafonkin
3e24ed5400 more work on simplified api 2012-07-05 14:45:06 +03:00
Vladimir Agafonkin
b2140e8d31 update build 2012-07-04 14:10:26 +03:00
Vladimir Agafonkin
df6ea68438 update build and changelog 2012-07-03 11:12:22 +03:00
mourner
50c6c480b4 add window and undefined to outer closure 2012-07-01 16:18:00 +03:00
mourner
28a21fd4c3 minor cleanup / refactoring, fix removeEventListener bug 2012-07-01 15:46:31 +03:00
mourner
0f40da1cce merge events by Guiswa, minor cleanup/refactoring 2012-06-30 14:51:09 +03:00
mourner
8d619899b0 refactoring, map getZoomScale and getScaleZoom, fix path zoom anim to take clip padding into account 2012-06-29 02:59:49 +03:00
mourner
9387db04c2 refactoring, cleanup, add Bounds.getBottomLeft and getTopRight 2012-06-29 01:47:30 +03:00
Vladimir Agafonkin
0830bb38dc fixed path setStyle in IE6-8, closed #641, updated build and changelog 2012-06-26 12:21:15 +03:00
Vladimir Agafonkin
5da6da99d4 Merge remote-tracking branch 'origin/master' 2012-06-26 11:48:59 +03:00
Vladimir Agafonkin
d292b16666 tidy up leaflet CSS 2012-06-26 11:48:43 +03:00
mourner
18557d890a update build and changelog, cleanup 2012-06-26 01:51:04 +03:00
mourner
a9b42fad6d update changelog, cleanup 2012-06-26 01:05:55 +03:00
mourner
ed3176f18f path bringToFront and bringToBack 2012-06-26 00:16:46 +03:00
mourner
bbd3c93237 add ImageOverlay opacity, hide on zoom animation 2012-06-25 23:45:37 +03:00
Vladimir Agafonkin
dd47877154 removed translate3d(0,0,0) hack (seems unnecessary now) 2012-06-25 20:21:37 +03:00
Vladimir Agafonkin
dd80fc296e fix typo in browser 2012-06-25 19:27:42 +03:00
Vladimir Agafonkin
2ac4a6d364 L.Browser and translate refactor and cleanup 2012-06-25 18:58:37 +03:00
Vladimir Agafonkin
4ce8d5f459 update build, cleanup 2012-06-25 17:10:01 +03:00
mourner
0479e24034 add autopanstart event to Map 2012-06-23 02:20:32 +03:00
mourner
76b0a1de5a get rid of "unbounded" stuff (unprojection should always be unbounded) 2012-06-22 18:24:08 +03:00
mourner
d208f38a0a update build 2012-06-22 17:32:53 +03:00
mourner
c345f199ca update build 2012-06-21 14:54:09 +03:00
danzel
9cec6643f1 Use a generic class (leaflet-zoom-animated) instead of explicitly stating in the CSS what things are zoom animated. 2012-06-21 12:05:31 +12:00
danzel
6d725f02cd Change animateMarkerZoom to use a class/style rather than setting visibility directly. 2012-06-21 11:22:22 +12:00
danzel
bda2a8a2bc Add zooming animation support to Path.Canvas layers also. 2012-06-19 11:12:29 +12:00
danzel
da475a9d23 Don't animate movement when zooming by touch. Still doesn't work right for touch. 2012-06-19 09:20:35 +12:00
danzel
0b30a9b893 Move more zoom animation bits out to css 2012-06-19 09:20:33 +12:00
danzel
d30d057968 Do major tidy ups on the SVG zoom animation, pretty certain that this is tidy now.
Conflicts:

	src/map/anim/Map.ZoomAnimation.js
2012-06-19 09:20:31 +12:00
danzel
51fb9eeacf Start on making markers animate when zooming rather than disappearing and reappearing. Currently implemented as a hack in Map.ZoomAnimation. 2012-06-19 09:20:27 +12:00
mourner
44773a998c updated build, closed #451 2012-06-18 12:30:39 +03:00
mourner
2e80cfd719 update build, some merges 2012-06-18 12:10:20 +03:00
mourner
48956cd3ac updated build for #729, closed #7 (awesome!) 2012-06-18 11:50:16 +03:00
Vladimir Agafonkin
53afad9041 update build 2012-06-02 10:55:59 +03:00
mourner
3c8495b6f3 Fixed layers control in IE7, closed #652 2012-05-16 16:39:03 +03:00
mourner
64a2dd5301 update build 2012-05-16 12:42:01 +03:00
mourner
c9d6144c53 bring marker icon back (oops!) 2012-05-14 11:59:11 +03:00
mourner
0a6e8d87b7 update build 2012-05-10 17:17:04 +03:00
mourner
9bf54700b0 rename marker image 2012-05-10 17:16:51 +03:00
Eric Martinez
a69477abcf Created a focus handler for the map. Converted keyboard handler to make use of new focus events. 2012-05-04 23:46:15 -06:00
mourner
b333f86e1d fix superclass regression 2012-03-09 11:28:14 +02:00
mourner
0474023675 initial global refactoring 2012-03-03 17:02:20 +02:00
mourner
401a6e2224 Added originalEvent to Marker mouse events, closed #408 2012-02-26 01:14:42 +02:00
mourner
bff72c2c8a make scale control more compact 2012-02-25 17:53:26 +02:00
mourner
90198ec519 added scale control 2012-02-25 17:04:27 +02:00
mourner
5d263e9637 more inertia fixes 2012-02-25 11:40:39 +02:00
mourner
e5d315a6aa fix deceleration spelling 2012-02-25 00:07:28 +02:00
mourner
48f99ab2f8 update build 2012-02-25 00:05:17 +02:00
mourner
4583eb13e0 fix typo 2012-02-24 23:20:50 +02:00
mourner
0f914b6409 fix regression with tile loading 2012-02-24 22:48:22 +02:00
mourner
bca3c8eb67 fix typo (treshold -> threshold) 2012-02-24 18:18:50 +02:00
mourner
6ea3360ba7 update build 2012-02-24 17:21:09 +02:00
mourner
57aee3c5ed Finally implemented panning inertia, closed #17 2012-02-24 17:19:53 +02:00
mourner
194425d24b Fix stuttering of pan animation in some cases 2012-02-24 16:53:22 +02:00
mourner
41bfa169a1 styling tweaks, remove controls box-shadow for mobile devices 2012-02-23 16:13:09 +02:00
mourner
d728779bc6 fix controls regression 2012-02-23 10:47:19 +02:00
mourner
b61ac59b66 update build 2012-02-23 10:33:35 +02:00
mourner
287a58ec2a Fixed regression with disappearing controls, closed #525 2012-02-23 10:32:39 +02:00
mourner
1c579dbeac Fixed Android 3 zoom control issue, closed #335 2012-02-21 15:33:10 +02:00
mourner
7889b692b0 Made Marker openPopup fail silently, closed #507 2012-02-21 15:07:54 +02:00
mourner
60f96281e7 Fixed false clicks on touch devices bugs, closed #485 2012-02-21 14:58:01 +02:00
mourner
10bb71fb2a Improved panning usability on marker-crowded maps, closed #506 2012-02-21 12:32:11 +02:00
mourner
495f4d3632 More Icon-related improvements 2012-02-21 12:02:54 +02:00
mourner
1e72e40c89 Added Popup maxHeight option, updated default popup styles 2012-02-17 15:32:40 +02:00
mourner
d907c6df63 Fixed setStyle stroke/fill update bug, closed #441 2012-02-16 18:56:39 +02:00
mourner
c3b33d8ca3 Polyline editing fixes, better debug page 2012-02-16 18:11:17 +02:00
mourner
9ae2926327 Add Polyline edit event 2012-02-16 17:46:24 +02:00
mourner
ebbad27cbd More polyline/polygon editing (middle markers), #174 2012-02-16 17:28:42 +02:00
mourner
43305b9ffb Initial polyline/polygon editing implementation, #174 2012-02-16 14:15:47 +02:00
mourner
b90c2f551f Clean up LatLngBounds#pad, update changelog 2012-02-16 13:09:48 +02:00
mourner
1a8a0ce632 Added DivIcon for lightweight div-based markers, and editable poly example 2012-02-16 13:00:45 +02:00
mourner
6040d8bf77 Added Circle#getBounds, closed #440 2012-02-15 18:54:11 +02:00
mourner
ae99354857 interpolate URL values from options (instead of urlParams 3rd argument) 2012-02-15 18:23:34 +02:00
mourner
a2a666d9c3 update build 2012-02-15 17:50:59 +02:00
mourner
808d01207c another batch of cleanup and refactoring 2012-02-15 17:50:22 +02:00
mourner
8e131c5f32 more cleanup and refactoring 2012-02-15 17:05:55 +02:00
mourner
e3d0e24a0c cleaning up and formatting code 2012-02-15 13:17:25 +02:00
mourner
30f1c6af9e Merged #488 fix from stable, closed #488, allowed smart tabs 2012-02-15 11:03:39 +02:00
mourner
ba5b40cc19 Fixed non-removable attributions regression #488 2012-02-15 10:54:17 +02:00
mourner
bc39d7036b fix black tile flickering bug, update changelog, build 2012-02-14 17:25:47 +02:00
mourner
2828235ba3 fixed black tile flickering on iOS and query string bug 2012-02-14 17:20:57 +02:00
mourner
bf7fbdb795 Fixed Leaflet include query string bug 2012-02-14 12:41:46 +02:00
mourner
7435d2ac09 removed unneeded control constants 2012-02-14 11:42:01 +02:00
mourner
2d8029e436 Reworked controls to be more flexible (inspired by #480) 2012-02-14 11:40:47 +02:00
mourner
9707a4894e Update changelog and build 2012-02-13 16:25:57 +02:00
mourner
f36c27851b Update build and changelog 2012-02-13 16:12:32 +02:00
mourner
fdde989f05 Fixed Android 3 stability issues 2012-02-13 16:01:00 +02:00
mourner
0756ef15c7 Fixed Android 2 stability issues, Closed #69 2012-02-13 14:32:58 +02:00
mourner
0ef3058512 Added setZIndexOffset to Marker, closed #449 2012-02-13 12:50:18 +02:00
mourner
c84726ef39 update build 2012-02-13 12:15:47 +02:00
mourner
8a1eb107b1 Fixed Android vector layers regression, Closed #416, #407, #182 2012-02-13 12:14:48 +02:00
mourner
c4d6a4f3d7 Fixed Layer Switcher on Mobile, closed #203 2012-02-12 16:51:30 +02:00
mourner
dd9ffb54a3 update build 2012-02-12 15:16:20 +02:00
Norbert Renner
c3c98109dc build 2012-02-07 23:21:38 +01:00
mourner
f46c0263c3 Fixed touch-panning inside a popup, closed #452 2012-02-03 12:59:05 +02:00
mourner
de78de0fee Update build and changelog 2012-02-03 12:51:29 +02:00
mourner
5d9c4f08fc update build 2012-02-01 11:53:45 +02:00
mourner
cf8e0ca50e Fixed map.getBounds on a date line cross issue, closed #295 2011-12-16 14:04:45 +02:00
mourner
435b3eea69 Fixed getBoundsZoom regression on small bounds 2011-12-15 15:05:51 +02:00
mourner
2fabb23358 Added Marker zIndexOffset option, closed #65 2011-12-15 14:46:36 +02:00
mourner
80048bddf4 Fixed Safari redraw after popup issue, closed #296 2011-12-15 13:56:29 +02:00
mourner
e50c98863c Added FeatureGroup setStyle and invoke methods, closed #353 2011-12-15 13:25:25 +02:00
mourner
83af28eae9 Fixed GeoJSON date line rendering bug, closed #354 2011-12-15 12:07:35 +02:00
mourner
3595c50b33 Added map zoomstart event, fixed movestart event, closed #377 2011-12-14 16:09:32 +02:00
mourner
36eb9d3cbd fix map drag regression 2011-12-14 15:09:59 +02:00
mourner
10520b7c4a udpate build 2011-12-14 13:44:45 +02:00
mourner
4751d1dbea Merge map popup events by @chosak #373 2011-12-13 17:34:56 +02:00
mourner
e5242cec29 Fix LatLngBounds intersects 2011-12-13 17:12:33 +02:00
mourner
12d3dc5e71 Merge Elliptical Mercator fix by @Savvkin 2011-12-13 16:23:22 +02:00
mourner
6f8698b93d Added LatLngBounds intersects method, closed #350 2011-12-13 16:01:04 +02:00
mourner
b3e5b42675 update build 2011-12-12 22:10:29 +02:00
mourner
f68a227680 integrate jshint into Jakefile, minor cleanup 2011-12-12 19:54:03 +02:00
mourner
3776e73c00 Switched to Node + Jake + UglifyJS for building 2011-12-11 22:45:49 +02:00
mourner
8c6b5b3df5 Fixed GeoJSON pointToLayer not working inside a GeometryCollection, closed#391 2011-12-09 18:19:58 +02:00
mourner
f4e9280ec8 update build with new closure 2011-12-09 12:27:57 +02:00
mourner
0f23454168 Fixed min zoom recalculation on resize when max bounds enabled 2011-12-07 15:58:06 +02:00
mourner
dd3788f48d Fixed rare polygon/polyline rendering issue, closed #381 2011-12-05 19:47:07 +02:00
mourner
43d87dacde At last, added ability to set max geographical bounds within which users can pan/zoom! Closed #93 2011-12-02 19:04:19 +02:00
mourner
bd511151a0 update build and changelog 2011-11-18 13:04:05 +02:00
mourner
9686b73d15 update build 2011-10-28 16:16:29 +03:00
mourner
dde05f8f31 Fixed z-index marker issues in IE, closed #259 2011-10-28 16:09:38 +03:00
mourner
70339807ed add urlParams argument to TileLayer constructor 2011-10-27 17:20:12 +03:00
mourner
6c4dd07c51 Build updated 2011-10-26 17:37:18 +03:00
mourner
e2081bdee3 Build updated 2011-10-26 16:04:07 +03:00
mourner
5bf0f0e8b7 fix vector flickering in Safari on big maps 2011-10-21 19:39:35 +03:00
mourner
5d339f9abb fix vector regression 2011-10-21 19:35:55 +03:00
mourner
61d746818b Prevented some CSS frameworks from setting Leaflet img max-width, fixed #322 2011-10-21 18:52:37 +03:00
mourner
a38f9dd6ae vector code refactoring to fix #339 2011-10-21 17:50:59 +03:00
mourner
0645330e6b update build 2011-10-21 15:03:46 +03:00
mourner
db571f1124 update build 2011-10-05 16:02:51 +03:00
mourner
d15d20bbf8 Fixed Marker setIcon breaking if marker isn't added to the map, closed #311 2011-09-29 14:42:13 +03:00
mourner
9c2f81226a update build 2011-09-29 12:00:50 +03:00
mourner
465a27e5fc Fixed IE6/7 and IE8-compat overlays not displaying regression, closed #312 2011-09-29 11:48:17 +03:00
mourner
28080c6568 update build 2011-09-23 18:21:24 +03:00
mourner
8212981daa update build 2011-09-20 17:25:27 +03:00
mourner
c0df6be3b5 update build 2011-09-20 17:04:29 +03:00
Mourner
e4c08caf47 Fix overlay positions when panning to a copy of a world, close #273 2011-09-09 16:32:43 +03:00
Mourner
d9f9cbfd2e added TileLayer zoomOffset option (thanks to @msaspence) 2011-09-09 14:30:56 +03:00
Mourner
1d86c969be Fix vector layer click events for iOS, close #204 2011-09-09 12:52:28 +03:00
Mourner
b0205094c1 Fix initializing map in a non-empty div, close #278 2011-09-08 12:23:22 +03:00
Mourner
40c974ee8c update build and changelog 2011-09-08 12:13:54 +03:00
Mourner
417383724f update build 2011-08-31 15:11:07 +03:00
Mourner
6a39725de5 fix requestAnimationFrame in some Chrome/Linux builds 2011-08-15 18:34:58 +03:00
Mourner
28be37ca8e preserve map center after resize 2011-08-11 16:12:58 +03:00
Mourner
83372eb0ed fix marker setLatLng in case it's called before adding #222 2011-08-11 15:43:40 +03:00
Mourner
13807db12e more mouse scrolling fixes, update build 2011-08-11 14:01:15 +03:00
Mourner
6dd915a1e5 Fix IE6-8 popup close button error, closes #235 2011-08-10 15:21:02 +03:00
Mourner
9aee9dc68a TileLayer continuousWorld option, related to #236 2011-08-10 15:06:16 +03:00
Mourner
8a004bc54b revert #221, as it causes flickering on zoom animation 2011-08-02 11:09:12 +03:00
Mourner
aa5849a2dc fixed mouse zoom when map is inside scrollable div, closes #206 2011-07-28 12:49:32 +03:00
Mourner
7d41f80b9b Fix layer ordering in Control.Layers 2011-07-21 12:05:59 +03:00
Mourner
f87a6583dd Close marker popup on marker removal (merge Rick's pull) 2011-07-20 16:53:48 +03:00
Mourner
189e532dd7 fix potential Safari crashes and tile load errors 2011-07-20 16:28:11 +03:00
Mourner
62db9893c1 fix setPrefix not updating attribution prefix, closes #195 2011-07-20 16:09:18 +03:00
Mourner
67172990bb Fix map click error when dragging is initially disabled, closes #196 2011-07-20 16:05:53 +03:00
Mourner
6ddb7424d9 update changelog and build 2011-07-20 15:54:27 +03:00
Mourner
e1c5051f7c update build with Layers control 2011-07-20 14:12:12 +03:00
Rick Harris
d1997386fd Remove marker popups when marker is removed 2011-07-13 13:46:57 -04:00
Mourner
50e36cc2cb minor tweaks 2011-07-13 14:38:46 +03:00
Mourner
03075f0928 initial Control.Layers commit 2011-07-12 20:19:29 +03:00
Mourner
9b8db34fa3 update build and changelog 2011-07-12 15:33:06 +03:00
Mourner
3989c6afd0 update changelog and build 2011-07-11 14:14:46 +03:00
Mourner
5f07e8bfc2 fix crash on Android 3, closes #137, #160 2011-07-04 15:01:38 +03:00
Mourner
9c19796f25 rely more on feature detection instead of ua string, closes #142 2011-06-23 14:41:47 +03:00
Mourner
c739bbff22 fix occasional overlay blurriness in WebKit 2011-06-23 13:58:43 +03:00
mourner
baa90b5d45 fix broken canvas layer positioning in FF, closes #156 2011-06-23 09:25:27 +03:00
Mourner
fd94ffd665 remove accidental console.log 2011-06-22 19:05:44 +03:00
Mourner
77e1459347 don't draw circles that are off the clip region, closes #141 2011-06-22 19:03:11 +03:00
Mourner
d999ab1d01 path canvas fixes (make sure there's no accidental styling) 2011-06-22 18:34:26 +03:00
Mourner
8cdb7069e1 fix regression that caused 'L_PREFER_CANVAS undefined' error 2011-06-22 17:17:22 +03:00
Mourner
6163fd755c click tolerance for polylines 2011-06-22 13:27:03 +03:00
Mourner
4273df1f99 fix circle drawing bug 2011-06-22 12:26:03 +03:00
Mourner
d63d39cabf update build (only ~2.5kb increase from canvas backend, great!) 2011-06-21 18:13:43 +03:00
Mourner
10ffc32ea7 cleanup jonny's pull 2011-06-21 10:06:47 +03:00
Mourner
6eb9e8fe53 sanitize LatLng arguments, closes #136 2011-06-20 13:50:40 +03:00
mourner
3af05ece06 fix error in TileLayer.Canvas 2011-06-18 13:22:39 +03:00
Mourner
0800c241c1 opera mobile fixes, closes #138 2011-06-17 19:40:27 +03:00
Mourner
c63b955d41 fix panning on Android 3, closes #121 2011-06-17 17:19:35 +03:00
Mourner
457a4355fc parse string coordinates in GeoJSON, closes #136 2011-06-17 16:46:03 +03:00
Mourner
05c4b3f114 add tap tolerance for better mobile usability, update changelog 2011-06-17 15:52:39 +03:00
Mourner
d3f0ba5424 don't use setTimeout on drag for browsers without requestAnimFrame 2011-06-17 14:10:30 +03:00
Mourner
d2487e89d0 improve mobile webkit click responsiveness, fix clicks in Android 2.1 2011-06-17 13:50:50 +03:00
mourner
d388078e43 update build 2011-06-17 00:31:19 +03:00
Jason Davies
eb68a70844 Add noWrap option to TileLayer. 2011-06-16 22:06:19 +01:00
Mourner
b781376e3d fix HTC Hero panning, closes #84 (hopefully) 2011-06-16 18:52:37 +03:00
Mourner
e09765a355 remove slow and unnecessary code from zoom anim logic, related to #123 2011-06-16 15:54:51 +03:00
Mourner
e576fd846c improve typograhy 2011-06-16 15:45:37 +03:00
Mourner
4d46f03065 CSS cleanup (thanks to CSSLint) 2011-06-16 15:02:42 +03:00
Mourner
233e63af53 minor GeoJSON refactoring, reverse option in coordsToLatLngs 2011-06-16 13:56:39 +03:00
Mourner
40a1ebf5c3 minor Path refactoring, update build after Jason commits 2011-06-16 12:15:17 +03:00
Mourner
667fdd9797 Fix L variable definition, closes #122 2011-06-14 15:14:47 +03:00