<a name"0.9.0">
- events: refactor(rootScope map events): If the id attribute is set for the leaflet directive then the id will be used in the rootScope leaflet events. Example:
<leaflet id="firstMap">
, Will fireleafletDirectiveMap.firstMap.click
(d22b3f0)
- build: Added "core" to .gitignore to avoid more "core" files inside distributed version (2ff48c3e)
- Leaflet.vector-markers: Add support for Leaflet plugin 'Leaflet.vector-markers' (eb386a1)
- Nokia Maps: Added Nokia here maps. (83b71ef)
<a name"0.8.8">
- layers: Add support for Leaflet.TileLayer.IIP (ec0fe740)
- lf-center: lfCenter or 'lf-center' added which is a dupe of center. center to be deprecated (06b5a3fa)
- logger: Add new independent logger requirement to replace Angular $log. Remember to include angular-simple-logger before Angular-Leaflet from your bower assets. (4f35bf6)
<a name"0.8.7">
- code: Deleted uneeded file (5be6c453)
- controls: Solved a problem with loading custom controls, as reported by @adgoncal here: (a1843f20)
- dependencies:
- paths: Better log description with a path inside overlay error (a02c3046)
- examples:
<a name"0.8.6">
- dependencies:
- libraries: Updated bower.json with AngularJS latest stable version: https://github.com/tomb (50ec972c)
- marker: use correct individual isDeep watch parameter (17fb090c)
- bounds:
- controls:
- examples: Added a new example of setting bounds with Nominatim feature. (48986290)
- layercontrol:
<a name"0.8.5">
-
leafletMarkersHelper, markers: Fix updating markers and managing popups. Lots of logic for marker updating was contained in the addMarkerWatch callback. If you didn't watch individual markers, then markers weren't getting updated properly. This used to work because the directive simply replaced markers on update, but with recent refactors, this is no longer the case. The addMarkerWatch watch callback is now _updateMarker and made available to the marker directive. It is used to update markers in _addMarkers. Before this commit, _addMarkers just ignored markers that already exists, now it updates. We now use marker.popupOpen() to handle popup logic (when focus is set to true, ensure popup gets opened). When the popup event is fired, manageOpenPopup will be used to compile the popup if necessary. (360401243f3f6d645860355b2c0067db6c55218a)
-
build: grunt-graphviz added to devDeps (b2236acc)
-
center: cleanup some center code, based on this issue by @pieterjandesmedt: (ea1d52a5)
-
labels: labels added to existing markers are now bound (f464f9c1)
-
markers oldModels undefined: - markers fix with nested logic. oldModels isDefined checks (94429544)
-
markers updates: Marker Clean up and storage was incorrect on how it's leafletMarkers (leafletDat (6fc72b47)
- control: Add minimap control option (d25962d1)
- layers:
<a name"0.8.4">
- popups position markers: POST BUILD/MERGE popups position after being compiled. Refactored open popup fun (0b885666)
- graphs: architecture png graphs in dist/architecture/** (f00fcd3d)
<a name"0.8.3">
- markers dupes - issue #766 (2d52aad)
- paths - Fix the leafletPathEvents._bindPathEvents method that was using an old syntax for binding label events. 7aa2926
<a name"0.8.0">
- geojson - event handlers changed to be consistent with markers (816a633)
- iteration preference to lodash removed and not using angular.forEach, see
<a name"0.7.13">
- bump-@, bump-@-minor, bump-@-major - correct workflow for bumping and keeping dist version numbers in sync with package json files
- [geojson, markers]watchOptions - minify fix for annotations
<a name"0.7.12">
- markers-watch-options - much more flexible watch options to entireley disable watches
- markers-nested - markers can be nested via layer name
- geojson-watch-options - much more flexible watch options to entireley disable watches
- geojson-nested - geojson can be nested to create additional geojson layers
- leafletData.getDirectiveControls
- bug fixes see git log
- bad caching for _layerControl (bbeb54e9)
- marker: Tests passing again after this new functionality: https://github.com/tombatossal (e0c7d2d7)
- markers: Solved a bug related with the default icon position, thanks to @Jespersm75 for r (9626e19e)
- controls: Added the scale control and an example showing it. Thanks to @dts here: https:// (7f1fbf56)
- events: Reworked the marker events. We use the "emit" login instead of "broadcast" for m (5c50f7f1)
- examples: New bootstrap-ui integration with modal and a map with marker-clustering. Exampl (bceff464)
- map: Option to disable scrolling on mobile devices. Thanks to @rckclmbr here: https:/ (368b4d21)
- overlay: Added an option to hide the overlay from the switch selector. Thanks to @Getz85 (010e773b)
- Added a new property to the layers to be able to hide the layer to the layer switcher. Example here: http://tombatossals.github.io/angular-leaflet-directive/examples/layers-hide-baselayer-on-selector-example.html
- geojson: Shallow watch of the geojson object to accomplish better performance, as stated (c893a1a8)
- markerCompilation: use specified scope to listen to includeContentLoaded (2d937949)
- paths: Solved a bug with paths and layerGroup management. Reported by @ValentinH here: (10ac4e82)
- Pass popup options in all calls to marker.bindPopup() (6f476314)
- Solved bug on utfgrid example (9f78d3af)
- center: Solved the autodiscover problem reported by @facultymatt here: https://github.co (ba9d6ef0)
- core:
- Fixed a map destroy bug reported by @porjo here: https://github.com/tombatossals (7255d913)
- Fixed a bug in the fuction obtainEffectiveMapId as reported by @porjo here: http (5e6b73b7)
- examples: Fixed some mess on the path-types-example (a40dee24)
- layers: Added a log error message when no layer type is provided (53c6bcb4)
- Updated examples (0e7d02bb)
- examples:
Lot of new features and bugfixes added by the community: https://github.com/tombatossals/angular-leaflet-directive/pulls?q=is%3Apr+is%3Aclosed
- build: Used load-grunt-config to modularize the build process (56440881)
- center: solved a bug with the autoDiscover property. (823934db)
- markers: Bug solved which prevents to create a markers group without overlay (2017f1a0)
- tiles: Fixed a bug related with multiple maps on screen and tiles. Thanks to @gabrielha (3a774523)
- url-center: round the latlng to 4 digits as suggested by @fbuchinger here: (4a6d755e)
- build:
- documentation: Added more "markers" attribute documentation. (4dacd3d0)
- example: Added a new example of marker clustering without overlays (8a65587d)
- test: Added unitary tests and protractor tests for the new url-hash-center property (d43ff384)
- url-center-hash: Listen for URL changes to update the center. (ebad6267)
- build:
- documentation: Initial "markers" attribute documentation. (ec7dc696)
- layers: Added the GeoJSON layer functionality by @cktong. (fba0d0d1)
- markers: When a marker popup is changed on map the marker object is updated in the scope (ae66898a)
The most important change of this release is the overhaul of the markers attribute, which has some implications to mantain backwards compatibility. The icon definition inside a marker must be done without calling explicitly Leaflet Icon creation function. So, instead of:
marker = {
name: "example",
icon: L.icon({
...
})
}
We will use:
marker = {
name: "example",
icon: {
...
}
}
You can take a look at the demo page to see examples of this change: http://tombatossals.github.io/angular-leaflet-directive/#!/examples/customized-markers
- Gruntfile: Updated protractor-runner to allow running the e2e tests from various browsers f (01e9f0da)
- build:
- documentation:
- examples:
- New example of layer+markers with markerclustering usage (d0230d07)
- New examples of markers attribute. (753e509f)
- Added a new and simplified paths example (2e991d73)
- Added a new simplified example to the paths attribute (c380b742)
- Added a new paths example: paths-simple-example.html (66bc6920)
- All the examples dependencies linked to the bower_components folder. (d9b0cdbf)
- markers: The icon definition has ben changed to be an object of properties, not a Leaflet (b45df205)
- tests: Added a new E2E protractor tests for the paths-simple-example.html (c74c2314)
- paths: Solved a bug on the scope watching of the paths attribute. (0663b309)
- build:
- features: Reworked 'maxBounds' attribute with new maxbounds-example.html (e60a1528)
- tests: Fixed the waiting times on the protractor e2e test googlemaps-example.html (4e67f35e)
- build:
- 'maxbounds' updated to work with leaflet 0.7.1 (fe575010)
- 'maxBounds' attribute renamed as 'maxbounds'. (b2f541c3)
- Updated grunt-protractor-runner and protractor configuration to version 0.15.0 (ea836c3a)
- Added a new createBoundsFromArray helper, proposed by @lukasz-zak here: https:// (0adacda1)
- Added a new service of bounds helpers: leafletBoundsHelpers (eac699aa)
- documentation:
- examples:
- test:
- tests: Added a new e2e test for: layers-imageoverlay-example.html (5eb20dc1)
- build:
- Solved a problem with the render of the Google Maps Layer, reported by @pwoloszu (73f17c0b)
- Removed the center undefined log message as noted by @ngoldman here: https://git (a41e4efb)
- grunt: Added the e2e protractor tests to the Grunt watch cycle. (95ac1831)
- libraries: Updated Leaflet.markercluster to version 0.4 on bower.json. Thanks to @Hyzhak fo (a7adada0)
- test: Updated e2e tests to pass the jshint validations (acee2b02)
- tests: Some code updates to the e2e tests (5e47141b)
- examples: Make the buttons toggable on the marker-groups-example.html made by @yagoferrer (0699cf7b)
- test:
- build: Removed the center undefined log message as noted by @ngoldman here: https://git (08b569ff)
- Documentation: More detailed documentation of how to contribute to the project. (5eaf07f9)
- build:
- We can disable the watch on the markers adding a 'watch-markers="no"' to our dir (543b6259)
- Added a new service leafletMarkerHelpers with the methods needed to manage the m (f0dadafb)
- Re-worked layer type code, lot easier to add new layer types now. (061a52ca)
- Only show the layer selector switch control if the layers added are more than on (343a662b)
- Added a new layers management example (layers-simple-example.html). (1be141c2)
- documentation:
- test: Added a new e2e test for the bounds-example.html (1fa57eb9)