Commit Graph

2026 Commits

Author SHA1 Message Date
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
2a0eec9ce7 better dependencies formatting 2012-12-20 15:34:22 +02: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
84866536ab update build 2012-12-19 18:47:42 +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
jacobtoye
c40878365d Fixing addInitHooks specs to test inherited hooks and child class' hooks. 2012-12-19 15:36:42 +13: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
mourner
d1254ddecc build script fixes and cleanup 2012-12-17 21:32:00 +02:00
Vladimir Agafonkin
079b0dee5f update build 2012-12-17 19:15:51 +02:00
Vladimir Agafonkin
c6caf93c00 refactor build scripts, cleanup 2012-12-17 19:15:19 +02:00
danzel
e7b8687c6e compress images better (smushit) 2012-12-13 13:07:33 +13:00
Mattias Bengtsson
674757b995 Smaller inner border radius. 2012-12-12 19:00:21 +01:00
Vladimir Agafonkin
4d47249926 update build with UglifyJS2 2012-12-12 19:10:19 +02:00
Vladimir Agafonkin
6134a41554 jshint fixes and cleanup for uglifyjs2 2012-12-12 19:09:47 +02:00
Vladimir Agafonkin
9fac165906 update build scripts to work with UglifyJS2 2012-12-12 19:08:57 +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
76311ff794 fix changelog typo 2012-12-12 14:22:53 +02:00
Vladimir Agafonkin
9f50141e8a update build 2012-12-12 14:20:08 +02:00
Vladimir Agafonkin
cfe2825c45 update changelog 2012-12-12 14:19:16 +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
Vladimir Agafonkin
8350bb1e08 update LatLng specs after removing default clamping/wrapping 2012-12-12 12:04:54 +02:00
Vladimir Agafonkin
624bcb8687 Merge pull request #1212 from moonlite/1178-zoomlevels-take2
Add test for ensuring maxZoom and minZoom on the map overrides any layer settings.
2012-12-11 16:04:29 -08:00
Mattias Bengtsson
5fa8dfa5a5 Add test for ensuring maxZoom and minZoom on the map overrides any layer settings. 2012-12-12 00:45:19 +01:00
Mattias Bengtsson
e475c04eaa Add a missing semi colon and make one line < 80 chars 2012-12-12 00:45:09 +01: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
7f2ad35a74 Another pass at redrawing the icon. This one looks really close to the original 2012-12-11 14:50:01 +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
danzel
003cf55451 Add svg source for icon and replace icon with one from the SVG. (Redrawn from original, pretty close but not perfect) 2012-12-11 14:49:45 +13:00