@NonNull open static fun newInstance(): MapFragment
Create new instance of MapFragment.
@NonNull @DeprecatedSince("2020.02") open static fun newInstance(keys: HashMap<String!, String!>!): MapFragment
Create a new instance of MapFragment with dynamic API Keys.
keys
- HashMap<String!, String!>!: Map containing API Key values for "OnlineMaps.Key" & "OnlineTraffic.Key".
Return
MapFragment: mapFragment
@NonNull @DeprecatedSince("2020.02") open static fun newInstance(styleUrl: String!): MapFragment
Create a new instance of MapFragment with custom style.
@NonNull @DeprecatedSince("2020.02") open static fun newInstance(keys: HashMap<String!, String!>!, styleUrl: String!): MapFragment
Create a new instance of MapFragment with dynamic API Keys and custom style.
keys
- HashMap<String!, String!>!: Map containing API Key values for "OnlineMaps.Key" & "OnlineTraffic.Key".
styleUrl
- String!:
Return
MapFragment: mapFragment
@NonNull open static fun newInstance(mapProperties: MapProperties!): MapFragment
Create new instance of MapFragment with desired initial properties.
mapProperties
- MapProperties!: initial map properties
Return
MapFragment: mapFragment