Skip to content

Commit

Permalink
improve mobile webkit click responsiveness, fix clicks in Android 2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mourner committed Jun 17, 2011
1 parent 25ca741 commit d2487e8
Show file tree
Hide file tree
Showing 4 changed files with 82 additions and 74 deletions.
11 changes: 6 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,16 @@ Leaflet Changelog

### Highlights

* Added **WMS** layer (`TileLayer.WMS`).
* Added **WMS** support (`TileLayer.WMS` layer).
* Added different **projections** support, having `EPSG:3857`, `EPSG:4326` and `EPSG:3395` out of the box (through `crs` option in `Map`). Thanks to [@Miroff](https://github.com/Miroff) & [@Komzpa](https://github.com/Komzpa) for great advice and explanation regarding this.
* Added **GeoJSON** layer.
* Added **GeoJSON** layer support.
* Added **MultiPolyline** and **MultiPolygon** layers. [#77](https://github.com/CloudMade/Leaflet/issues/77)
* Added **TileLayer.Canvas** for easy creation of canvas-based tile layers.

### Improvements

* Added `TileLayer.Canvas` for easy creation of canvas-based tile layers.
* Improved panning performance considerably with the help of `requestAnimationFrame`. [#130](https://github.com/CloudMade/Leaflet/issues/130)
* Improved panning performance in Chrome and FF considerably with the help of `requestAnimationFrame`. [#130](https://github.com/CloudMade/Leaflet/issues/130)
* Improved click responsiveness in iOS and Android.
* Changed `Circle` to be zoom-dependent (with radius in meters); circle of a permanent size is now called `CircleMarker`.
* Added `mouseover` and `mouseout` events to map, markers and paths; added map `mousemove` event.
* Added `setLatLngs`, `spliceLatLngs`, `addLatLng`, `getLatLngs` methods to polylines and polygons.
Expand Down Expand Up @@ -59,7 +60,7 @@ Leaflet Changelog

#### Mobile browsers bugfixes

* Fixed a bug that prevented panning on HTC Hero (and possibly some other old Android devices). [#84](https://github.com/CloudMade/Leaflet/issues/84)
* Fixed a bug that prevented panning on some Android 2.1 devices. [#84](https://github.com/CloudMade/Leaflet/issues/84)
* Disabled zoom animation on Android by default because it's buggy on some devices (will be enabled back when it's stable enough). [#32](https://github.com/CloudMade/Leaflet/issues/32)
* Fixed a bug where map would occasionally break while multi-touch-zooming on iOS. [#32](https://github.com/CloudMade/Leaflet/issues/32)
* Fixed potentional memory leak on WebKit when removing tiles, thanks to [@Scalar4eg](https://github.com/Scalar4eg). [#107](https://github.com/CloudMade/Leaflet/issues/107)
Expand Down
4 changes: 4 additions & 0 deletions dist/leaflet.css
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@
visibility: inherit;
}

a.leaflet-active {
outline: 2px solid orange;
}


/* Leaflet controls */

Expand Down
Loading

0 comments on commit d2487e8

Please sign in to comment.