@NonNull open static fun newInstance(): MapFragment
Create new instance of MapFragment.
@NonNull @DeprecatedSince(2020, 2) open static fun newInstance(keys: HashMap<String!, String!>!): MapFragment
Create 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, 2) open static fun newInstance(styleUrl: String!): MapFragment
Create new instance of MapFragment with custom style.
@NonNull @DeprecatedSince(2020, 2) open static fun newInstance(keys: HashMap<String!, String!>!, styleUrl: String!): MapFragment
Create 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