Commit Graph

838 Commits

Author SHA1 Message Date
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