This repository distributes a package rather than defining the complete product contract. Pair it with the owning SDK or product guide.
What this surface enables
A versioned iOS distribution package used to integrate maps, search places, routes navigation, tracking telematics, widgets deep links, capture feedback, identity platform into an application.
No durable provider record or application workflow contract was established from the source identity or bounded document evidence; view, camera, callback, and authentication sessions alone do not make a source stateful.
Authority: Conservative Default · No durable-state signal promoted from incidental vocabularyiOS
MapsSearch PlacesRoutes NavigationTracking TelematicsWidgets Deep LinksCapture FeedbackIdentity Platform
RubySwift
Api Key
Prepare the integration
- An iOS project with Xcode and the package manager required by the source release
- A Mappls project key restricted to the intended app, domain, or backend
- The corresponding product entitlement enabled for the developer application
Setup and usage examples
These examples were extracted from the canonical public source document and sanitized for credential-like values. Check the source branch and package version before copying into a production application.
https://github.com/mappls-api/mappls-nearby-finder-ios-distribution.gitTopics documented by the source
01Introduction
This is an easy to integrate nearby search by MAPPLS.
To search the nearby records as per specified record types from the Custom Nearby Record Search database around the provided reference location.
The plugin will search the results based on Custom Search database wherein the data is managed by you through the use of simple APIs which perform basic CRUD operations that can be performed on database applications: Create (Add Records), Update (Update Records), and Delete(Delete Records).
The plugin will facilitate you in various ways:
• Include the Nearby Search method with or without an interactive Map component. - Method to initiate nearby search across all categories of places. - Compatible with our other MAPPLS UI widgets For eg Place Search, place Picker and Directions etc.
We're helping any website or app developer to easily integrate this information, for the benefit of your users and visitors.
02Dependencies
MapplsAPICore and MapplsAPIKit are dependencies which will require to use this SDK.
03Installation
This library is available through Swift Package Manager.
04MapplsAPICore
It is required to set MAPPLS's keys to use any MAPPL's SDK. Please see here to achieve this.
05Usage
Method can be implemented in simple way.
Create a MapplsNearbyRecordFinderManager object using your rest key or alternatively, you can place your rest key in the MapplsRestKey key of your application's Info.plist file, then use the shared instance of MapplsNearbyRecordFinderManager class.
06Mandatory Parameters
1. recordType (String) : The category or class of the record, referenced by a defined set of category codes from client. 2. location (double, double) : Provides the location around which the search will be performed. e.g. location(28.454,77.435)
The refLocation parameter can also accept mapplsPin as reference location. Example: location("1T182A")
07Optional Parameters
1. radius (Integer) : The radius in meters for radial search. Default radius: 10000 meters. 2. bounds (String)(x1,y1;x2,y2) : Allows the developer to send in map bounds to provide a nearby search of the geobounds. where x1,y1 are the lat lng of the bound. The bounds are set from topLeft to bottomRight (North-West to South-East). Example :28.639256,77.211133;28.625214,77.237483. 3. sortBy (String) : Provides configured sorting operations for the client on cloud. Below are the available sorts: - dist:asc & dist:desc - will sort data in order of distance from the passed location (default). - name:asc & name:desc - will sort the data on alphabetically bases.
4. filter (String) : This field accepts mapplsPin and restricts the search to the provided administrative area mapplsPin. Example : filter("cop:TAVI5S").
5. createdTime (Int): This is an epoch value in seconds. All records whose creation time is 'greater than' the provided input time here are responded back in results. Example: createdTime(1628855941) 6. modifiedTime (Int): This is an epoch value in seconds.All records whose modified time is 'greater than' the provided input time here are responded back in results. Example: modifiedTime(1628855941)
7. itemCount (Int): Number of items per page. Minimum is 1; Default is 10.
08Response Parameters
You will find below useful properties in suggestion object :
• latitude : Latitude of the location. - longitude : Longitude of the location. - distance : Provides the distance from the provided location bias in meters. - recordMapplsPin : Place Id of the location 6-char alphanumeric. - customNote : Any string Type. - createdOn: : This is an epoch value in seconds. All records whose creation time is 'greater than' the provided input time here are responded back in results. Example: createdTime=1628855941. - modifiedOn: This is an epoch value in seconds. All records whose creation time is 'greater than' the provided input time here are responded back in results. Example: modifiedTime=1628855941 - isExpired: false. If set true while adding the record in addRecord api, that particular record will not be searchable. - recordType (String): Type of category used while adding the record. - orderIndex(Int): The order where this result should be placed. - e
09Mandatory Parameters
1. path(String): This parameter takes the encoded route along which records have to be searched. 2. recordType(String): The category or class of the record, referenced by a defined set of category codes from client.
10Optional Parameters
1. sort(Bool): Gets the sorted records along route. 2. geometryType(GemoetryType): Type of geometry encoding. Below are the available geometries: - GemoetryType.polyline5 - GemoetryType.polyline6 (Default) - GemoetryType.base64 3. page(Int): Used for pagination. By default, a request returns maximum 10 results and to get the next 10 or so on pass the page value accordingly. Default is 1. 4. buffer(Int): Buffer of the road. Minimum value is 25, maximum is 1000 and default is 25.
11Response Parameter
1. responseCode(Int) 2. pageInfo(MapplsNearbyFinderAlongTheRouteResponsePageInfo) 3. suggestedPOIs([MapplsNearbyFinderAlongTheRouteResponseData])
12MapplsNearbyFinderAlongTheRouteResponseData
1. distance(Int) 2. customNote(String) 3. createdOn(Int) 4. recordType(String) 5. modifiedOn(String) 6. latitude(Double) 7. longitude(Double) 8. address(String) 9. recordId(String) 10. orderIndex(Int) 11. extendedInfo([String: String])
13Our many happy customers:
For any queries and support, please contact:
Email us at apisupport@mappls.com
Support Need support? contact us!
[](https://about.mappls.com/blog/)[](https://github.com/mappls-api)
[](https://twitter.com/mappls)[](https://www.linkedin.com/company/mappls/)[](https://www.youtube.com/channel/UCAWvWsh-dZLLeUU7J9HiOA)
@ Copyright 2020 CE Info Systems Pvt. Ltd. All Rights Reserved.
Service references found
URLs are sanitized during ingestion and may include documentation or legacy hosts. Use them to trace the source, not as a substitute for the current API contract.
https://www.mapmyindia.com/apihttps://github.com/mappls-api/mappls-nearby-finder-ios-distribution.githttps://github.com/mappls-api/mappls-ios-sdk/blob/main/docs/v2.0.1/MapplsAPICore.mdhttps://www.mapmyindia.com/api/img/logos1/PhonePe.png)[](https://about.mappls.com/blog/)[](https://github.com/mappls-api)[https://www.npmjs.com/org/mapmyindiahttps://www.facebook.com/Mapplsofficial)[](https://twitter.com/mappls)[](https://www.linkedin.com/company/mappls/)[](https://www.youtube.com/channel/UCAWvWsh-dZLLeUU7_J9HiOAhttps://about.mappls.com/api/terms-&-conditionshttps://www.mappls.com/about/privacy-policyhttps://www.mappls.com/pdf/mappls-sustainability-policy-healt-labour-rules-supplir-sustainability.pdfhttps://www.mappls.com/pdf/Health-Safety-Management.pdfhttps://www.mappls.com/pdf/Environment-Sustainability-Policy-CSR-Report.pdf