Skip to content

ELocation Strategy

Saksham66 edited this page Aug 26, 2021 · 1 revision

MapmyIndia APIs

ELocation Strategy

Add Marker

To add marker using eLoc:

controller.addSymbol(SymbolOptions(eLoc: "MMI000"));

To set Camera to particular eLoc

Sdk allows various method to Move, ease,animate Camera to a particular location :
controller.moveCameraWithELoc(CameraELocUpdate.newELocZoom('MMI000', 14));
mapmyIndiaMap.easeCameraWithELoc(CameraELocUpdate.newELocZoom('MMI000', 14));
mapmyIndiaMap.animateCameraWithELoc(CameraELocUpdate.newELocZoom('MMI000', 14));

To set Camera to particular eLoc Bound

Sdk allows various method to Move, ease,animate Camera to a particular eLoc Bound :
mapController.moveCameraWithELoc(CameraELocUpdate.newELocBounds(['2T7S17', 'MMI000']));
mapmyIndiaMap.easeCameraWithELoc(CameraELocUpdate.newELocBounds(['2T7S17', 'MMI000']));
mapmyIndiaMap.animateCameraWithELoc(CameraELocUpdate.newELocBounds(['2T7S17','MMI000']));

For any queries and support, please contact:

Email Email us at apisupport@mapmyindia.com

Stack Overflow Ask a question under the mapmyindia-api

Support Need support? contact us!

Blog Read about the latest updates & customer stories

© Copyright 2020. CE Info Systems Pvt. Ltd. All Rights Reserved. | Terms & Conditions.