To add marker using mappls pin:
mapplsMap.addMarker(new MarkerOptions().mapplsPin(mapplsPin));
To get the callback that marker is added or not:
mapplsMap.addMarker(new MarkerOptions().mapplsPin(mapplsPin), new OnMarkerAddedListener() {
@Override
public void onSuccess() {
//On Marker Added Successfully
}
@Override
public void onFailure() {
//Failure
}
});
mapplsMap.moveCamera(CameraMapplsPinUpdateFactory.newMapplsPinZoom("MMI000", 14));
mapplsMap.easeCamera(CameraMapplsPinUpdateFactory.newMapplsPinZoom("MMI000", 14));
mapplsMap.animateCamera(CameraMapplsPinUpdateFactory.newMapplsPinZoom("MMI000", 14));
mapplsMap?.moveCamera(CameraMapplsPinUpdateFactory.newMapplsPinZoom("MMI000", 14));
mapplsMap?.easeCamera(CameraMapplsPinUpdateFactory.newMapplsPinZoom("MMI000", 14));
mapplsMap?.animateCamera(CameraMapplsPinUpdateFactory.newMapplsPinZoom("MMI000", 14));
mapplsMap.moveCamera(CameraMapplsPinUpdateFactory.newMapplsPinBounds(eLocs, 10 , 100, 10, 10));
mapplsMap.easeCamera(CameraMapplsPinUpdateFactory.newMapplsPinBounds(eLocs, 10 , 100, 10, 10));
mapplsMap.animateCamera(CameraMapplsPinUpdateFactory.newMapplsPinBounds(eLocs, 10 , 100, 10, 10));
mapplsMap?.moveCamera(CameraMapplsPinUpdateFactory.newMapplsPinBounds(eLocs, 10 , 100, 10, 10));
mapplsMap?.easeCamera(CameraMapplsPinUpdateFactory.newMapplsPinBounds(eLocs, 10 , 100, 10, 10));
mapplsMap?.animateCamera(CameraMapplsPinUpdateFactory.newMapplsPinBounds(eLocs, 10 , 100, 10, 10));
For any queries and support, please contact:
Email us at apisupport@mappls.comSupport Need support? contact us!
@ Copyright 2024 CE Info Systems Ltd. All Rights Reserved.
Terms & Conditions | Privacy Policy | Supplier Sustainability Policy | Health & Safety Policy | Environmental Policy & CSR Report
Customer Care: +91-9999333223