Commit Graph

2762 Commits

Author SHA1 Message Date
Vladimir Agafonkin
810ecadb4e don't do travis artifacts stuff for pull req branches 2013-07-12 00:44:57 +03:00
Vladimir Agafonkin
0de87fa6ba Merge pull request #1856 from rutkovsky/disable_animations_outside_dom
Disable animations outside dom
2013-07-11 13:29:09 -07:00
Aaron Rutkovsky
0e34b8caf2 PosAnimation tests 2013-07-11 12:30:15 -05:00
Aaron Rutkovsky
24ebb66f40 Stop animation if can't get position from current style 2013-07-11 11:27:57 -05:00
Aaron Rutkovsky
b3b06eaabc Merge branch 'master' into disable_animations_outside_dom 2013-07-11 10:29:36 -05:00
Vladimir Agafonkin
5829963014 do not animate zoom if nothing to animate yet, close #1484, close #1845 2013-07-11 15:59:13 +03:00
Vladimir Agafonkin
a24a772694 add multipoly getLatLngs, close #1839, update changelog 2013-07-11 15:11:28 +03:00
Vladimir Agafonkin
183c8a2cb7 merge #1834 (passing options to setMaxBounds) 2013-07-11 13:03:41 +03:00
Vladimir Agafonkin
219b8bdad0 update changelog 2013-07-11 13:01:06 +03:00
Vladimir Agafonkin
889136fe84 fixed false FeatureGroup layerremove, close #1847 2013-07-11 12:57:05 +03:00
Vladimir Agafonkin
c4877fb86f Merge pull request #1851 from freepius44/patch-1
Update setOpacity() in Marker.js
2013-07-10 11:45:19 -07:00
Poisbeau Mathieu
bde6b34502 Update Marker.js
According to the Leaflet documentation, setOpacity must return "this".
2013-07-10 19:00:11 +02:00
Vladimir Agafonkin
001f975b22 fix marker shadow not zoom animating after setIcon, close #1768 2013-07-10 19:34:51 +03:00
Vladimir Agafonkin
1781cda04a fix geojson not accepting geometry arrays, close #1840 2013-07-10 19:21:39 +03:00
Vladimir Agafonkin
1f6b981aab don't install travis-artifacts for minor branches and PRs 2013-07-10 17:21:33 +03:00
Vladimir Agafonkin
d140dca57c remove build JS in dist, update readme, close #1354 2013-07-10 17:18:59 +03:00
Vladimir Agafonkin
4759fdbf36 add leaflet prefix to travis build archives, fix .DS_Store inclusion 2013-07-10 16:53:02 +03:00
Vladimir Agafonkin
53d9375284 archive dist in travis without root dir 2013-07-10 16:24:06 +03:00
Vladimir Agafonkin
d888a2e49e fix path in travis artifacts build 2013-07-10 16:08:19 +03:00
Vladimir Agafonkin
823cd0990e add build uploading to s3 to travis 2013-07-10 16:03:35 +03:00
Vladimir Agafonkin
cf206fb252 fix typo in changelog 2013-07-10 13:19:25 +03:00
Vladimir Agafonkin
382104586f update changelog 2013-07-10 13:18:26 +03:00
Vladimir Agafonkin
604dac50e6 update changelog 2013-07-10 12:50:18 +03:00
Vladimir Agafonkin
69c74a5057 Merge pull request #1817 from tofferrosen/patch-1
Issue where the tile layer is not reset and updated when redraw is calle...
2013-07-10 02:27:41 -07:00
Vladimir Agafonkin
94819b3186 update changelog 2013-07-09 16:17:18 +03:00
Vladimir Agafonkin
20099d4d2e update build 2013-07-09 16:10:03 +03:00
Vladimir Agafonkin
bb29331ca8 Merge pull request #1846 from Leaflet/layerremove
Fire layerremove after removing the layer
2013-07-08 22:53:22 -07:00
John Firebaugh
4839c44509 Fire layerremove after removing the layer
This is consistent with 0.5.x and seems more useful. Updating
the state of a layer switcher using map.hasLayer in response
to layeradd and layerremove events is my use case.
2013-07-08 16:53:04 -07:00
John Firebaugh
a1d7c1268d Mirror D3 strategy for drag event suppression
-webkit-user-drag is not inherited, so it's ineffective
at preventing drags of image overlays (#1821). Instead,
always preventDefault on dragstart.

While here, preventDefault on selectstart as well (a
"belt-and-suspenders" approach).

Together, these changes bring Leaflet's strategy in line
with D3's:

https://github.com/mbostock/d3/blob/master/src/event/drag.js
2013-07-08 10:26:02 -07:00
Vladimir Agafonkin
8a0b9ecb64 Merge pull request #1826 from scooterw/fix_mouse_position_relative
attempt to address regressions from #1684, #1745
2013-07-06 07:45:03 -07:00
Scooter Wadsworth
4e2a7f2030 Merge pull request #1 from jec006/fix_mouse_position_relative
Fix issue with mouse position when page is scrolled
2013-07-05 09:48:26 -07:00
Josh Caldwell
0c381325bb Fix issue with mouse position when page is scrolled 2013-07-05 11:50:36 -04:00
Vladimir Agafonkin
e787027110 Merge pull request #1833 from danzel/master
Fix worldCopyJump if you start zoomed all the way out. Fixes #1831
2013-07-05 03:39:24 -07:00
David Beitey
c663392697 Allow options to be passed to Map.setMaxBounds such that they can be used when setting the view. 2013-07-05 14:12:09 +10:00
danzel
fef108cc8e Fix worldCopyJump if you start zoomed all the way out. Fixes #1831 2013-07-05 14:35:48 +12:00
Scooter Wadsworth
914807c621 attempt to address regressions from #1684, #1745 2013-07-03 22:42:10 -06:00
Aaron Rutkovsky
f01e010f9a Stop transition if element is outside fo the DOM 2013-07-03 18:06:45 -05:00
Hans Kristian Flaatten
8e98e52b88 Renames L.LatLng property .altitude to .alt 2013-07-03 15:44:57 +02:00
Hans Kristian Flaatten
46885de00d Adds support for altitude and 3D GeoJSON
This commit adds a third parameter to the L.LatLon class for specifying
altitude. This is in turn stored in the `.latitude` property for the LatLng
instance. Latitude property will only be set if the latitude parameter is not
undefined, this is done in order to ensure backwards compability.

```javascript
var latlng = new L.LatLng(10, 20, 30);
console.log(latlng.altitude); // prints '30' to the console
```

Similar functionality has been added to L.GeoJSON coordsToLatLng() and
latLngToCoords() methods in order to handle import and export of 3D GeoJSON.

```javascript
var geoJSON = {
  type: 'Feature'
  ,properties: {}
  ,geometry: {
    type: 'Point'
    ,coordinates: [20, 10, 30]
  }
}
var layer = new L.GeoJSON();
layer.addData(geoJSON);
console.log(layer.getLayers()[0].getLatLng().altitude);
```

`NB` It is important to notice that no logic has been added in order to prevent
latitude and longitude to change without appropirate change in altitude – this
must be handled by the application.
2013-07-03 10:13:00 +02:00
Vladimir Agafonkin
642fc815e1 fix typo and reorder items in the changelog a bit 2013-07-02 12:55:16 +03:00
Vladimir Agafonkin
e6ddac4557 update changelog, close #1819 2013-07-02 12:43:12 +03:00
Vladimir Agafonkin
8f2dc24c88 Merge pull request #1802 from Leaflet/scaledtiles
TileLayer maxNativeZoom option for scaling tiles on unsupported zoom levels
2013-07-02 02:32:08 -07:00
Christoffer Rosen
724f9aa3d8 Issue where the tile layer is not reset and updated when redraw is called.
I was able to replicate this issue: https://github.com/Leaflet/Leaflet/issues/1797. The problem is that redraw does not call update and reset on the TileLayer, therefore causing the above issue. I am proposing simply doing it before calling drawTile. I built and tested it, and it does fix the issue.
2013-07-01 23:53:13 -05:00
danzel
71e851fa40 Remove trailing comma, fixes IE7. Refs #1755 2013-07-01 15:56:04 +12:00
Vladimir Agafonkin
d04f1e73e3 add info about name, minor updates 2013-06-28 17:21:40 -04:00
Vladimir Agafonkin
46356e73a7 remove change that didn't go into 0.6.2 2013-06-28 16:39:16 -04:00
John Firebaugh
475e736346 Revert "Consistent mouse event propagation in Marker and Path"
This reverts commit 4015f49615.
2013-06-28 16:22:20 -04:00
Vladimir Agafonkin
3f85f7c86e update changelog 2013-06-28 15:56:57 -04:00
Vladimir Agafonkin
df7edd5aa5 rename plugin authoring guide 2013-06-28 15:53:11 -04:00
Vladimir Agafonkin
199968be45 bump version in package.json 2013-06-28 15:48:06 -04:00