leaflet-ng2 icon indicating copy to clipboard operation
leaflet-ng2 copied to clipboard

Add 2-Way binded view and center for map

Open atd-schubert opened this issue 8 years ago • 2 comments

The map-component should also have summarized 2 way binded values view and center.

Center is a combination of lat and lng, view is like center with the zoom-level in addition...

atd-schubert avatar Nov 28 '16 09:11 atd-schubert

@atd-schubert could I have more details on this?

4thel00z avatar Apr 25 '17 07:04 4thel00z

Currently we use lat and lng as directive input and output with datatype numbers, but we thought about to provide also center as input/output with datatype LatLng and maybe also view as tuple of [LatLng, number], where LatLng is the center position and the number is the zoom level. But maybe it produces a lot more complexity without giving any really new feature.

atd-schubert avatar Apr 25 '17 13:04 atd-schubert