Commit Graph

1123 Commits

Author SHA1 Message Date
mourner
0474023675 initial global refactoring 2012-03-03 17:02:20 +02:00
Vladimir Agafonkin
20c0bad37e Merge pull request #548 from mehmeta/contentupdated
Added contentupdated event to popup
2012-03-03 05:51:33 -08:00
Vladimir Agafonkin
e9d9a021d3 Merge pull request #552 from mehmeta/polyedit
Bugfix: Proper cleanup of marker editing handler when it is disabled.
2012-03-03 05:50:48 -08:00
Mehmet Alkanlar
cf52a5168b Moving it inside the if clause makes more sense. 2012-03-02 15:52:53 -07:00
Mehmet Alkanlar
5437de4116 Bugfix: Proper cleanup of marker editing handler when it is disabled.
This fixes a critical bug which occurs if editing is enabled, disabled
and enabled again. Since line 16 checks for existence of marker group
reference, markers never get reinitiated, causing the handler to use
the old ones, which may have been changed in the last editing session.
2012-03-02 15:43:35 -07:00
mourner
59f6672e64 whitespace fix 2012-03-01 14:10:27 +02:00
Mehmet Alkanlar
85ae6d9192 Renamed the event according to conventiions 2012-02-29 17:11:24 -07:00
Vladimir Agafonkin
fafc3edbe9 Merge pull request #549 from mehmeta/polyedit
Fixed bugs on polyline editing regarding edge cases
2012-02-29 15:51:44 -08:00
Mehmet Alkanlar
925ffd6538 Fixed bugs on polyline editing regarding edge cases
This commit fixes couple bugs. One of them is polylines (or polygons)
can be  reduced to a single point by clicking on markers to remove
them. Second, if an edge point is clicked for a polyline (not
applicable to polygons since they are a circular linked list) code
produces a js error since previous or next might not be present.
2012-02-29 15:35:35 -07:00
Mehmet Alkanlar
cbe7e9795f Added contentupdated event to popup 2012-02-29 15:24:21 -07:00
mourner
401a6e2224 Added originalEvent to Marker mouse events, closed #408 2012-02-26 01:14:42 +02:00
mourner
14e3eff44b Fixed IE regression, closed #539 2012-02-26 01:11:43 +02:00
mourner
24375fe88d more cleanup 2012-02-25 18:57:28 +02:00
mourner
bff72c2c8a make scale control more compact 2012-02-25 17:53:26 +02:00
mourner
65184a7d09 fix typo 2012-02-25 17:26:05 +02:00
mourner
fc0b477622 minor cleanup 2012-02-25 17:13:30 +02:00
mourner
90198ec519 added scale control 2012-02-25 17:04:27 +02:00
mourner
79eb5bcb32 fire move during pan animation 2012-02-25 16:59:08 +02:00
mourner
5d263e9637 more inertia fixes 2012-02-25 11:40:39 +02:00
Vladimir Agafonkin
667964bad1 Merge pull request #538 from giscloud/inertia.few.fixes
Inertia.few.fixes
2012-02-25 01:36:00 -08:00
Dino Ravnić
dd5e4744e2 forgot a semicolon 2012-02-25 01:44:31 +01:00
Dino Ravnić
5d1b56c9e7 "instanceof window.Event" didn't worked on Chrome, so replaced it with a more general variant 2012-02-25 01:31:37 +01:00
Dino Ravnić
c2b0037f34 - dragend should fire in _onDragEnd no matter if inertia is on or off
- fixed an inertia edge case when _onDragEnd was called and _positions array was empty
2012-02-25 01:27:54 +01: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
291f3515bf fix touch zoom regression 2012-02-25 00:05:06 +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
7cea41a605 update changelog 2012-02-24 18:07:26 +02:00
mourner
6ea3360ba7 update build 2012-02-24 17:21:09 +02:00
mourner
2e9551dbe9 Merge branch 'inertia' 2012-02-24 17:20:44 +02:00
mourner
57aee3c5ed Finally implemented panning inertia, closed #17 2012-02-24 17:19:53 +02:00
mourner
0299c02d27 Fixed world wrapping regression, closed #526 2012-02-24 17:17:00 +02:00
mourner
194425d24b Fix stuttering of pan animation in some cases 2012-02-24 16:53:22 +02:00
mourner
8ad4f12cb9 Minor zoom animation cleanup 2012-02-24 16:52:30 +02:00
mourner
8ba23eb393 Don't do tile update when animation is in progress 2012-02-24 16:51:10 +02:00
Vladimir Agafonkin
9b217ce268 Merge pull request #530 from JasonSanford/master
Fix typo and add Rectangle.js to dependencies
2012-02-23 14:05:46 -08:00
Jason Sanford
a7081e6927 Fixing typo in Rectanlge.js description. Adding Rectangle.js to dependencies. 2012-02-23 14:02:10 -07:00
mourner
cc058fcd83 more inertia experiments 2012-02-23 17:24:32 +02:00
mourner
de8274831b Merge branch 'master' into inertia 2012-02-23 16:37:57 +02:00
mourner
329da706e8 fix typo 2012-02-23 16:14:10 +02:00
mourner
41bfa169a1 styling tweaks, remove controls box-shadow for mobile devices 2012-02-23 16:13:09 +02:00
mourner
477c1109eb clean up, move attribution prefix arg to options 2012-02-23 11:01:03 +02:00
mourner
08dccbc71c fix some more whitespace 2012-02-23 10:52:49 +02:00
mourner
d728779bc6 fix controls regression 2012-02-23 10:47:19 +02:00
Vladimir Agafonkin
d6d35c0f19 Merge pull request #523 from thatjpk/fire_edit_on_drag_vertex
Fire 'edit' event while dragging editable polygon/line marker.
2012-02-23 00:36:48 -08:00
mourner
2c54d55189 fix missing semicolon 2012-02-23 10:33:49 +02:00
mourner
b61ac59b66 update build 2012-02-23 10:33:35 +02:00
mourner
fd90a94f31 Merge branch 'master' of github.com:CloudMade/Leaflet 2012-02-23 10:32:59 +02:00