ProtectedconfigProtectedmapboxStaticlocationStaticlocationStaticmapStaticmoveStaticmoveStaticscrollOptionalbelowLayerId: stringOptionalsourceId: anyCreates a native view. Returns either android.view.View or UIView.
Clean up references to the native view.
OptionalnativeMap: anyOptionalnativeMap: anyInitializes properties/listeners of the native view.
Optionaloptions: ListOfflineRegionsOptionsOptionalnativeMap: anyCalled from layout when this view should assign a size and position to each of its children. Derived classes with children should override this method and call layout on each of their children.
Left position, relative to parent
Top position, relative to parent
Right position, relative to parent
Bottom position, relative to parent
map event
The base NativeScript ContentView class has on() and off() methods.
OptionalnativeMap: anyOptionaloptions: QuerySourceFeaturesOptionsOptionaloptions: anyOptionalids: any[]Optionalids: any[]OptionalnativeMap: anyOptionalnativeMap: anyOptionalnativeMap: anyOptionalnativeMap: anyOptionalnativeMap: anyOptionalnativeMap: any
base class for views created in XML
This is the glue that creates a config object based on the XML attributes passed to the Mapbox XML tag.
See
MapboxView
Link
https://docs.nativescript.org/plugins/ui-plugin-custom