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
Vladimir Agafonkin
9ba28229e9
fix typo in changelog
2013-06-27 10:35:12 -04:00
Vladimir Agafonkin
f1b8b1bc06
update build and changelog
2013-06-27 10:34:32 -04:00
John Firebaugh
725124931f
preventDefault on MozMousePixelScroll
...
This prevents scrolling without changing the zoom delta
calculations.
Fixes #1794
2013-06-27 10:28:13 -04:00
John Firebaugh
bc40266bc9
Revert "Use "wheel" event where supported ( #1788 )"
...
This reverts commit a784c560e5
.
2013-06-27 10:27:42 -04:00
Vladimir Agafonkin
e468704738
fix EPSG3395 zooming, close #1796
2013-06-27 09:27:25 -04:00
Vladimir Agafonkin
504390d67c
update jshint and karma versions in deps
2013-06-26 17:52:30 -04:00
Vladimir Agafonkin
de743fa890
fix clash of zoom button hover styles with Bootstrap, close #1791
2013-06-26 17:31:45 -04:00
Vladimir Agafonkin
b2d5eba972
make npm package name lowercase as required
2013-06-26 12:29:29 -04:00
Vladimir Agafonkin
48ea6518f7
reorder items in the changelog a bit
2013-06-26 09:46:42 -04:00
Vladimir Agafonkin
3374166028
update build
2013-06-25 19:42:38 -04:00