Mithgol the Webmaster
f9ea2728b7
fix CloudMade/Leaflet#789
2012-07-14 07:07:47 +04:00
Vladimir Agafonkin
649d439af9
only set popup opacity if fadeAnimation is true
2012-07-13 17:06:16 +03:00
Vladimir Agafonkin
c89f363767
Merge pull request #801 from lars-sh/master
...
Fixed basic XHTML problems.
2012-07-13 06:13:46 -07:00
Vladimir Agafonkin
ad4b8a2441
fix contextmenu event on path layers
2012-07-13 14:48:35 +03:00
Vladimir Agafonkin
444e0dba7c
scale control fixes, closes #674
2012-07-13 12:11:20 +03:00
Vladimir Agafonkin
7abe4c7d70
fix polyline error when it's removed on moveend
2012-07-13 11:36:11 +03:00
Lars Knickrehm
2248fb2d53
Fixed basic XHTML problems.
2012-07-13 01:47:19 +02:00
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
275760352b
remove accidental console.log
2012-07-12 15:54:44 +03:00
Vladimir Agafonkin
532ff7232d
optimize map resizing
2012-07-12 15:53:58 +03:00
Vladimir Agafonkin
01e26a4cce
add Map mouseup event
2012-07-12 15:48:44 +03:00
Vladimir Agafonkin
4f8dc06097
add Popup openOn(map)
2012-07-12 15:46:52 +03:00
Vladimir Agafonkin
e9b47e9811
factories for controls and multipolys
2012-07-12 15:40:47 +03:00
Vladimir Agafonkin
c6bae3ee5c
support arrays in geojson addData
2012-07-12 15:37:43 +03:00
Vladimir Agafonkin
0814e18a81
fix popupAnchor array form
2012-07-12 15:35:22 +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
2a7e49bfe3
Merge pull request #797 from danzel/master
...
Fix JSHint issues with my last pull
2012-07-12 00:18:59 -07:00
danzel
863bed6797
FeatureGroup now checks if the given layer has already been added in addLayer before adding it
2012-07-12 17:02:14 +12:00
danzel
3b7d1761ee
JSHint happiness.
2012-07-12 16:09:48 +12:00
danzel
e8a904530e
Fix up opacity in IE10, use style.opacity in IE9 also
...
http://caniuse.com/#feat=css-opacity
Regex from http://msdn.microsoft.com/en-us/library/ms537509(v=vs.85).aspx
2012-07-12 09:54:53 +12:00
danzel
ff86f5a24b
Need to check that createShadow actually created a shadow before adding the classes. Simplify the code too.
2012-07-11 15:55:41 +12:00
danzel
129572014c
Set the animation classes for marker in _initIcon rather than onAdd so that setIcon doesn't remove them
2012-07-11 15:51:12 +12:00
Jan Pieter Waagmeester
c7be915f45
Merge branch 'master' of git://github.com/CloudMade/Leaflet
2012-07-10 12:29:41 +02:00
Jan Pieter Waagmeester
138167158b
Replace manual style.opacity manimulations by L.DomUtil.setOpacity in Popup.js
2012-07-10 12:29:23 +02:00
Vladimir Agafonkin
cc60eb81c7
add subdomains to WMS, closes #735
2012-07-10 12:00:13 +03:00
Vladimir Agafonkin
d0c341b006
Added WMS setParams, TileLayer redraw, setUrl, closed #719
2012-07-10 11:43:18 +03:00
Vladimir Agafonkin
97553cd0bd
fix whitespace
2012-07-09 17:09:18 +03:00
Vladimir Agafonkin
dfdc011413
add bgPos to DivIcon for spriting, closes #743
2012-07-09 17:08:01 +03:00
Vladimir Agafonkin
8b3e97153c
fix icon default paths, update changelog
2012-07-09 15:07:22 +03:00
Vladimir Agafonkin
92c704f33b
Improved GeoJSON API, closed #315 , closed #715
2012-07-09 14:42:44 +03:00
Jan Pieter Waagmeester
8e355b5596
Merge branch 'master' of git://github.com/CloudMade/Leaflet
2012-07-05 16:59:34 +02:00
Jan Pieter Waagmeester
97e3d08dd5
Use L.DomUtil.addClass to add classes instead of direct attribute manipulation
2012-07-05 16:59:00 +02:00
Vladimir Agafonkin
c3573dbb82
Merge pull request #784 from jieter/master
...
DomUtil removeClass space handling.
2012-07-05 07:11:37 -07:00
Vladimir Agafonkin
2746cc843e
add addTo method to ImageOverlay, GeoJSON, LayerGroup, Popup
2012-07-05 16:53:32 +03:00
Jan Pieter Waagmeester
0a98e75aba
Fixed error after running spec: only remove spaces at head and tail now
2012-07-05 15:51:40 +02:00
Jan Pieter Waagmeester
f1480557af
Merge branch 'master' of git://github.com/CloudMade/Leaflet
2012-07-05 15:45:28 +02:00
Jan Pieter Waagmeester
6096795c1c
Fix regexp in DomUtil.removeClass to correctly remove spaces, use addClass in stead of manual class manimulation in Map.ZoomAnimation
2012-07-05 15:41:55 +02: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
7ea7b144f9
Merge pull request #759 from danzel/zoom-marker-hack-fix
...
Zoom Marker Hack Fix
2012-07-04 16:09:11 -07:00
Vladimir Agafonkin
bdf2a814a2
Merge pull request #779 from danzel/divicon-innerhtml
...
Add an option to DivIcon to allow setting the innerHTML
2012-07-04 14:10:23 -07:00
danzel
15718ec58c
Rename options.innerHTML to options.html
2012-07-05 08:46:18 +12:00
fr1n63
19b465eb0c
Code conventions adherence
2012-07-04 11:13:57 +01:00
fr1n63
ef0505515d
Code conventions adherence
2012-07-04 11:12:19 +01:00
fr1n63
85d6ce08c2
Code conventions adherence
2012-07-04 11:03:25 +01:00
fr1n63
d17bfc6e30
Removing the console log from Map.js, added mobileWebkit browser check to Transition.Native.js bug fix, reverted build files to mourners last revision
2012-07-04 10:14:06 +01:00
danzel
46a18ad348
Add an option to DivIcon to allow setting the innerHTML
2012-07-04 15:45:27 +12:00
fr1n63
7b6a2b8005
Seems to work, removed a lot of the over engineering, seems new version is more stable and deals with this fix better than the previous version did.
2012-07-03 16:30:53 +01:00
Vladimir Agafonkin
0d6749a3ac
initial API simplification
2012-07-03 17:06:44 +03:00
fr1n63
9365e76169
First attempts at resolving the zoom bug - changes since v0.3 have rendered this fix useless - try again later
2012-07-03 15:01:56 +01:00
Vladimir Agafonkin
2f66e86479
Merge pull request #775 from danzel/fix-events
...
Events fixups
2012-07-03 01:05:55 -07:00
danzel
4629a10f76
Fix up Events.off with the multi method, was removing all listeners as context is null and fn should be used instead (see .on code)
2012-07-03 11:49:25 +12:00
danzel
3674c11ae7
Line up FeatureGroup change with master
2012-07-03 11:49:18 +12:00
danzel
f6f060f28b
Make FeatureGroup de-init events when removing a layer
2012-07-03 11:49:09 +12:00
danzel
62061396cc
Make the android hacks only happen for android 2 and 3. On 4 (and hopefully future version) actually seem to do everything correct (Tested in chrome and the native browser)
2012-07-03 10:23:22 +12:00
danzel
914204f301
Need to do the shadow too
2012-07-03 09:44:30 +12:00
danzel
166746563c
If 3d is disabled, hide everything during a zoom. You can set window.L_DISABLE_3D = true to force 3d off.
2012-07-03 09:12:14 +12:00
danzel
dc46ae2ae3
By default only enable markerZoomAnimation if the browser supports transition and 3d. Allows Browser.any3d=false hack to work again
2012-07-03 08:25:12 +12: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
Aaron King
95ed9cdda2
Allow L.Mixin.Events.addEventListener() to accept a map in which the string keys represent one or more space-separated event types and the values represent a handler function to be called for the event(s).
...
Allow L.Mixin.Events.removeEventListener() to accept one or more space-separated event types. Omitting the fn parameter will remove all event handlers for the supplied event type(s).
Also allow L.Mixin.Events.removeEventListener() to accept a map where the string keys represent one or more space-separated event types and the values represent handler functions previously attached for the event(s).
Add unit tests for the above changes.
2012-06-29 16:14:41 -07: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
Charlie Moad
4a9b87bdbb
use abs val distance
2012-06-27 21:18:02 -04:00
Vladimir Agafonkin
0830bb38dc
fixed path setStyle in IE6-8, closed #641 , updated build and changelog
2012-06-26 12:21:15 +03:00
danzel
9a979dd6d9
ImageOverlay zooming support done proper! :)
2012-06-26 11:16:46 +12:00
danzel
b901708d31
Working on ImageOverlay zoom animation. This works but the image wobbles when it zooms some times. Will have another go with scale...
2012-06-26 11:16:45 +12:00
mourner
18557d890a
update build and changelog, cleanup
2012-06-26 01:51:04 +03:00
Vladimir Agafonkin
4b2ccdd7fd
Merge pull request #757 from stsydow/for_mourner
...
fixes NaN bug in scale control and spurios mousemove event
2012-06-25 15:32:34 -07:00
Stefan Sydow
8aaac25b11
fix spurios mousemove event for Chrome on Win
2012-06-26 00:11:40 +02:00
Stefan Sydow
011bbb0906
fix NaN bug in scale control
2012-06-26 00:11:39 +02:00
mourner
a9b42fad6d
update changelog, cleanup
2012-06-26 01:05:55 +03:00
Vladimir Agafonkin
784b9cc7cb
Merge pull request #756 from danzel/master
...
Enable translate3d on all webkit3d browsers and a few comments
2012-06-25 14:37:30 -07:00
mourner
500848ef5c
tilelayer bringToFront and bringToBack
2012-06-26 00:32:17 +03:00
mourner
ce06661534
marker update method
2012-06-26 00:21:58 +03:00
mourner
ed3176f18f
path bringToFront and bringToBack
2012-06-26 00:16:46 +03:00
danzel
76897575f6
Comment on bottom positioning popups
2012-06-26 09:07:07 +12:00
danzel
3536e9e3cc
Comment on why a work around is there
2012-06-26 09:07:07 +12:00
danzel
e5239d167d
Ensure translate3d is used in all webkit3d browsers and note why.
2012-06-26 09:07:06 +12:00
mourner
bbd3c93237
add ImageOverlay opacity, hide on zoom animation
2012-06-25 23:45: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
99dd46b538
ensure drag is not fired after dragend, closed #555
2012-06-25 18:08:00 +03:00
Vladimir Agafonkin
4ce8d5f459
update build, cleanup
2012-06-25 17:10:01 +03:00
Vladimir Agafonkin
3f0f7d7ad4
Merge pull request #742 from shintonik/tilelayer-load-event-fix
...
TileLayer load event is only fired once
2012-06-25 07:07:00 -07:00
mourner
468cc5c5fa
minor cleanup
2012-06-25 11:56:38 +03:00
Vladimir Agafonkin
183bf50173
Merge pull request #750 from danzel/fix-unit-tests
...
Fix up the unit tests
2012-06-25 01:50:12 -07:00
Vladimir Agafonkin
1a598fe1b7
Merge pull request #751 from danzel/ie10
...
Minor fixups for IE 10 support
2012-06-25 01:48:00 -07:00
mourner
ca9b96edde
Fix IE9 (and older) popup positioning
2012-06-25 11:42:51 +03:00
danzel
d8289081b8
Minor fixups for IE 10 support (Tested with Release Preview in a VirtualBox VM). Not sure if multi-touch support will work as I don't have a device.
2012-06-25 15:30:27 +12:00
danzel
61ce465134
Fix up the unit tests. Polyline.closestLayerPoint and noConflict were broken.
2012-06-25 12:16:46 +12: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
0b372dfa7c
Merge remote-tracking branch 'origin/master'
2012-06-22 16:11:12 +03:00
danzel
7ec0563dac
When reuseTiles is enabled, don't remove and re-add tiles from the DOM, just mark them as off screen and reposition them as required. This performs slightly better.
...
google maps does this trick too. You can test by finding the tile container ("leaflet-layer" equiv), right click it and set "break on subtree modifications", this will cause a js break whenever a child node is added/removed from that node.
2012-06-22 16:20:06 +12:00
danzel
c92059324d
Position tiles without 3d transforms, this makes them faster (google maps does the same). The transforms for them (pan, zoom animation etc) happen on a parent node, this is unaffected.
...
If you run chrome with about:flags "Composited render layer borders" enabled you will see each tile is dark blue outlined when 3d positioned (meaning each is a render surface) and when not 3d positioned they are cyan outlined (tiles in a tiled composited layer), which renders faster.
Ref http://www.chromium.org/developers/design-documents/gpu-accelerated-compositing-in-chrome (very bottom)
2012-06-22 16:15:08 +12:00
danzel
640e447c7c
Remove unused variable. Don't set leaflet-tile-loaded multiple times when reuseTiles:true, don't fire tileload for blank images
2012-06-22 15:19:44 +12:00