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
Vladimir Agafonkin
1f3cd6a08d
update changelog
2013-06-28 15:47:45 -04:00
Vladimir Agafonkin
b3d5684826
update build, bump minor version
2013-06-28 15:42:49 -04:00
John Firebaugh
f96a3f6988
Copyedit
2013-06-28 15:09:52 -04:00
Vladimir Agafonkin
7a4575419f
Merge pull request #1809 from Leaflet/mouse-events
...
Mouse events
2013-06-28 11:52:15 -07:00
Vladimir Agafonkin
994780a2a2
updates to plugin authoring guide
2013-06-28 14:50:49 -04:00
John Firebaugh
4015f49615
Consistent mouse event propagation in Marker and Path
...
Marker was missing mouseup and mousemove.
Path was missing mouseup.
2013-06-28 14:44:10 -04:00
John Firebaugh
1b7977a259
Manage happen.js with npm and upgrade it
2013-06-28 14:44:10 -04:00
Vladimir Agafonkin
634160aa4b
add plugin authoring guide, close #399
2013-06-28 14:39:49 -04:00
Vladimir Agafonkin
d00d8af033
update changelog
2013-06-28 14:38:50 -04:00
John Firebaugh
2b6dbacf53
Workaround for FF user-select bug ( fixes #1807 )
2013-06-28 12:21:52 -04:00
Vladimir Agafonkin
4bb9b38423
Merge pull request #1804 from Leaflet/1790
...
Replace explicit z-index with DOM reordering
2013-06-28 07:00:21 -07:00
John Firebaugh
1954d3d64e
Replace explicit z-index with DOM reordering
...
Setting an explicit z-index interacts badly with tile
layers which have an opacity less than 1, and therefore
create a stacking context.
Fixes #1790 .
2013-06-28 09:55:17 -04:00
Vladimir Agafonkin
9559f40829
minor cleanup
2013-06-27 19:47:34 -04:00
Vladimir Agafonkin
2521e121db
fix global map leak
2013-06-27 19:45:00 -04:00
Vladimir Agafonkin
b03f322193
add TileLayer maxNativeZoom option for scaling tiles on unsupported zooms, close #1798
2013-06-27 19:40:27 -04:00
Vladimir Agafonkin
69f51f22f3
update build and changelog
2013-06-27 19:36:29 -04:00
Vladimir Agafonkin
859c62f0e7
fix chrome zoom anim flickering near map borders
2013-06-27 19:36:20 -04:00
Vladimir Agafonkin
3d1f0957e7
Merge pull request #1801 from Leaflet/1800
...
Disable text selection on mousedown rather than move
2013-06-27 15:21:20 -07:00
John Firebaugh
4a8b5486c9
Disable text selection on mousedown rather than move
...
This seems to fix #1800 and a related unfiled issue reported in
IRC regarding tiles becoming selected on double-click when a
vector layer is present.
2013-06-27 18:06:43 -04:00
Vladimir Agafonkin
ae5bc1cc82
bump version and build
2013-06-27 10:41:12 -04:00