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