Commit Graph

3323 Commits

Author SHA1 Message Date
Vladimir Agafonkin
85aebe06c0 Merge pull request #2480 from adimitrov/patch-1
Move _containsPoint method to CircleMarker for canvas renderer
2014-02-22 01:36:35 +02:00
Alexander Dimitrov
687c0b75a4 Move _containsPoint method to CircleMarker for canvas renderer
CircleMarker is the parent of Circle as of 508a75f7a8 and should have _containsPoint instead.
Fixes no method '_containsPoint' error when hovering on a map with a CircleMarker.
2014-02-22 00:24:15 +02:00
Vladimir Agafonkin
ad661c94e4 Merge pull request #2452 from snkashis/modifier_key_bypass
don't capture keydowns if modifier key is active
2014-02-13 01:05:51 +02:00
Steve
c339a7e808 allow shift key to be active 2014-02-12 09:18:09 -05:00
Steve Kashishian
37519fd6ec don't capture keydowns if modifier key is active 2014-02-10 21:45:19 -05:00
Vladimir Agafonkin
34b6b9154d Merge pull request #2434 from gdi2290/patch-1
add licenses to package.json
2014-02-04 09:02:53 -08:00
gdi2290
992a9845ae add licenses to package.json 2014-02-04 08:45:03 -08:00
Vladimir Agafonkin
dfd20ca4c9 Merge pull request #2432 from bclinkinbeard/patch-1
Indicate primary CSS file in package.json
2014-02-03 06:58:26 -08:00
Ben Clinkinbeard
fae082068b Indicate primary CSS file in package.json
Many modules in npm are starting to expose their css entry files in their package.json files. This allows tools like `npm-css`, `rework-npm`, and `npm-less` to import a module's styles from the node_modules directory. Bootstrap is [in the process](https://github.com/twbs/bootstrap/pull/12441) of adopting this standard as well.
2014-02-03 09:54:56 -05:00
Vladimir Agafonkin
38b43b4b5c Merge pull request #2421 from danzel/addremovebug
Fix adding and immediately removing a Layer from the map when the map is never initialized
2014-01-30 01:48:23 -08:00
danzel
d5a3112852 Another break with adding and removing tile layers. 2014-01-30 16:35:08 +13:00
danzel
2396a10282 Fix adding and immediately removing a Layer from the map when the map is never initialized 2014-01-30 16:15:03 +13:00
danzel
4a556886fb Fix adding Vector layers during a zoom animation. Fixes #2416 2014-01-30 11:14:57 +13:00
danzel
4e84f9ec1f IE8 fixes.
Events on VML elements actually work :)
2014-01-30 11:12:07 +13:00
Vladimir Agafonkin
064902665e Merge pull request #2413 from danzel/propagation-fixes
Propagation fixes
2014-01-29 02:34:03 -08:00
danzel
8cc7404f53 This should be oldLatLng, even if latlng is wrong, let's have this be right. refs #2412 #1423 2014-01-29 14:51:55 +13:00
danzel
5916db8678 Don't crash if a marker is removed from the map before it fires a mouseout event. 2014-01-29 14:45:27 +13:00
danzel
595e8d2537 Allow stacking propagations. L.MarkerCluster uses this as follows:
Marker propagates to FeatureGroup.
That FeatureGroup propagates to MarkerClusterGroup.
Then users add listeners on the MarkerClusterGroup
2014-01-29 14:43:52 +13:00
Vladimir Agafonkin
78be0ad0ec Merge pull request #2412 from danzel/marker-move
Add oldLatlng parameter to Marker move event
2014-01-28 14:36:57 -08:00
danzel
e2d9a97836 Add oldLatlng parameter to Marker move event, will allow MarkerCluster to support moving markers. 2014-01-29 11:33:08 +13:00
Vladimir Agafonkin
02db8b4e1a Merge pull request #2410 from gamb/master
change unload order
2014-01-28 09:42:30 -08:00
Adam J. Gamble
579a429c3b change unload order 2014-01-28 17:20:08 +00:00
Vladimir Agafonkin
53cd4eee19 update npm deps 2014-01-28 13:59:02 +02:00
Vladimir Agafonkin
47166b62e5 fix GeoJSON coordsToLatLng 2014-01-28 13:26:58 +02:00
Vladimir Agafonkin
bce7c49c17 Merge pull request #2377 from Leaflet/accel
Smarter hardware acceleration
2014-01-28 03:22:31 -08:00
Vladimir Agafonkin
02d5896740 remove leftover code 2014-01-27 18:21:06 +02:00
Vladimir Agafonkin
187d9c2368 move Safari hacks to CSS, do not optimize contrast in Chrome 2014-01-27 18:18:04 +02:00
Vladimir Agafonkin
9228b3089f fix blurry non-retina tiles on retina iOS 2014-01-27 18:04:58 +02:00
Vladimir Agafonkin
cf35d69655 size-based tile layer HW hack; use top/left for tiles everywhere 2014-01-27 17:54:12 +02:00
Vladimir Agafonkin
7150d58a2a fix year in changelog [skip ci] 2014-01-17 14:52:27 +02:00
Vladimir Agafonkin
9d3ec72ccb update changelog about 0.7.2 [skip ci] 2014-01-17 14:44:25 +02:00
Vladimir Agafonkin
9020f4d41e greatly simplify zoom animation calculations - finally!!! 2014-01-15 17:15:52 +02:00
Vladimir Agafonkin
f081ff2908 fix build 2014-01-14 17:20:58 +02:00
Vladimir Agafonkin
cd0c9ff8a5 position the hack absolutely 2014-01-14 17:18:51 +02:00
Vladimir Agafonkin
322039ea85 move the hack to tile container reset 2014-01-14 17:15:58 +02:00
Vladimir Agafonkin
592d2ce8f4 horrible hacks to fix iOS Safari bugging out hw-acceleration 2014-01-14 16:29:39 +02:00
Vladimir Agafonkin
cfde916edf make sure tiles in iOS Safari are not hw-accelerated layers 2014-01-14 16:28:40 +02:00
Vladimir Agafonkin
6e5d3e26e6 use translate2d instead of top/left for tiles when hw-accelerated
this fixes gaps between tiles in Safari and makes iOS Safari butter
smooth when zooming
2014-01-14 16:26:58 +02:00
Vladimir Agafonkin
09ad7e8c4f fix box-zoom not displaying 2014-01-14 01:35:34 +02:00
Vladimir Agafonkin
22226c20c2 simpler tile bg buffer loading logic 2014-01-13 21:52:49 +02:00
Vladimir Agafonkin
6d5fe1f724 a bit cleaner zoom anim logic 2014-01-13 20:54:13 +02:00
Vladimir Agafonkin
f32173573a do not stack transforms for real now, close #1705 2014-01-13 17:10:58 +02:00
José Moreira
92890bed12 Events.js: Check if array exists before loop 2014-01-13 12:31:42 +00:00
Vladimir Agafonkin
1acffc5a3d don't disable propagation on closeButton, close #2351 2014-01-11 15:00:28 +02:00
Vladimir Agafonkin
1ed9924288 fix ImageOverlay on low zooms with Mercator distortion 2014-01-11 14:59:56 +02:00
Vladimir Agafonkin
48d5bac476 clean up image overlay, fix setting opacity/url when not added 2014-01-11 02:51:55 +02:00
Vladimir Agafonkin
2c90de5076 cleaner ImageOverlay animation 2014-01-10 23:25:31 +02:00
Vladimir Agafonkin
6f5c17fae0 more consistent renderer anim calculations 2014-01-10 21:59:25 +02:00
Vladimir Agafonkin
cc34737a93 remove DomUtil getTranslateString/getScaleString 2014-01-10 20:26:20 +02:00
Vladimir Agafonkin
d22f75cc36 simpler renderer zoom anim 2014-01-10 20:19:01 +02:00