From 0a6e242e88964d2049f2ec5de78ed84c54a856a7 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Fri, 27 Mar 2020 23:00:56 +0100 Subject: API documentation for KVision 3.6.0 --- api/pl.treksoft.kvision.maps/-maps/-init-.html | 6 ++++-- api/pl.treksoft.kvision.maps/-maps/index.html | 11 ++++++++++- api/pl.treksoft.kvision.maps/-maps/show-marker.html | 15 +++++++++++++++ api/pl.treksoft.kvision.maps/index.html | 2 +- api/pl.treksoft.kvision.maps/maps.html | 4 ++-- 5 files changed, 32 insertions(+), 6 deletions(-) create mode 100644 api/pl.treksoft.kvision.maps/-maps/show-marker.html (limited to 'api/pl.treksoft.kvision.maps') diff --git a/api/pl.treksoft.kvision.maps/-maps/-init-.html b/api/pl.treksoft.kvision.maps/-maps/-init-.html index 444f3c05..fbafbe47 100644 --- a/api/pl.treksoft.kvision.maps/-maps/-init-.html +++ b/api/pl.treksoft.kvision.maps/-maps/-init-.html @@ -8,8 +8,8 @@ kvision / pl.treksoft.kvision.maps / Maps / <init>

<init>

-(js) -Maps(lat: Number, lng: Number, zoom: Number, classes: Set<String> = setOf(), init: (Maps.() -> Unit)? = null) +(js) +Maps(lat: Number, lng: Number, zoom: Number, showMarker: Boolean = false, classes: Set<String> = setOf(), init: (Maps.() -> Unit)? = null)

Parameters

lat - initial latitude value

@@ -17,6 +17,8 @@ lng - initial longitude value

zoom - initial zoom

+

+showMarker - show marker in the initial position

classes - a set of CSS class names

Constructor
diff --git a/api/pl.treksoft.kvision.maps/-maps/index.html b/api/pl.treksoft.kvision.maps/-maps/index.html index d4d4b02a..175607d6 100644 --- a/api/pl.treksoft.kvision.maps/-maps/index.html +++ b/api/pl.treksoft.kvision.maps/-maps/index.html @@ -19,7 +19,7 @@

<init>

-Maps(lat: Number, lng: Number, zoom: Number, classes: Set<String> = setOf(), init: (Maps.() -> Unit)? = null) +Maps(lat: Number, lng: Number, zoom: Number, showMarker: Boolean = false, classes: Set<String> = setOf(), init: (Maps.() -> Unit)? = null) @@ -55,6 +55,15 @@ (js) +

showMarker

+ + +

show marker in the initial position

+val showMarker: Boolean + + + +(js)

zoom

diff --git a/api/pl.treksoft.kvision.maps/-maps/show-marker.html b/api/pl.treksoft.kvision.maps/-maps/show-marker.html new file mode 100644 index 00000000..347e2922 --- /dev/null +++ b/api/pl.treksoft.kvision.maps/-maps/show-marker.html @@ -0,0 +1,15 @@ + + + +Maps.showMarker - kvision + + + +kvision / pl.treksoft.kvision.maps / Maps / showMarker
+
+

showMarker

+(js) +val showMarker: Boolean +

show marker in the initial position

+ + diff --git a/api/pl.treksoft.kvision.maps/index.html b/api/pl.treksoft.kvision.maps/index.html index e6a95a7c..3f03f135 100644 --- a/api/pl.treksoft.kvision.maps/index.html +++ b/api/pl.treksoft.kvision.maps/index.html @@ -34,7 +34,7 @@

DSL builder extension function.

-fun Container.maps(lat: Number, lng: Number, zoom: Number, classes: Set<String> = setOf(), init: (Maps.() -> Unit)? = null): Maps +fun Container.maps(lat: Number, lng: Number, zoom: Number, showMarker: Boolean = false, classes: Set<String> = setOf(), init: (Maps.() -> Unit)? = null): Maps diff --git a/api/pl.treksoft.kvision.maps/maps.html b/api/pl.treksoft.kvision.maps/maps.html index 3fc7d3b0..5a856f5d 100644 --- a/api/pl.treksoft.kvision.maps/maps.html +++ b/api/pl.treksoft.kvision.maps/maps.html @@ -8,8 +8,8 @@ kvision / pl.treksoft.kvision.maps / maps

maps

-(js) -fun Container.maps(lat: Number, lng: Number, zoom: Number, classes: Set<String> = setOf(), init: (Maps.() -> Unit)? = null): Maps +(js) +fun Container.maps(lat: Number, lng: Number, zoom: Number, showMarker: Boolean = false, classes: Set<String> = setOf(), init: (Maps.() -> Unit)? = null): Maps

DSL builder extension function.

It takes the same parameters as the constructor of the built component.

-- cgit