Skip to content

mappls-api/mappls-raster-catalogue-ios-distribution

Repository files navigation

MapplsRasterCatalogue Plugin for iOS

MapplsRasterCatalogue is a plugin over Mappls's rasterCatalogue APIs. RasterCatalogue APIs gives the users the power to display, style, and edit the data which is archived in Mappls's Database and overlay it on the user created maps.

  • This is an easy & FREE to integrate DigitalSky Airspace zones layers widget by Mappls.
  • The drone airspace map is an interactive map of India that demarcates the yellow and red zones across the country.
  • The airspace map may be modified by authorised entities from time to time. Anyone planning to operate a drone should mandatorily check the latest airspace map for any changes in zone boundaries.
  • We're helping ANY website or app developer to easily integrate this information, for the benefit of your users and visitors.

To add a package dependency to your Xcode project, select File > Swift Packages > Add Package Dependency and enter its repository URL. See Adding Package Dependencies to Your App.

Version Dated Description
2.0.0 10 Jun 2025 - Updated minimum iOS deployment target to 13.0
- Authentication and authorization mechanisms have been revised.
--- --- ---
0.1.0 20 June 2022 Initial version release.

This library depends upon several Mappls's own libraries. All dependent libraries will be automatically installed using CocoaPods.

Below are list of dependencies which are required to run this SDK:

It is required to set MAPPLS's keys to use any MAPPL's SDK. Please see here to achieve this.

An enum MapplsRasterCatalogueLayerType can be used to get different types of layers. Below are different types which are available:

  1. MapplsRasterCatalogueLayerTypeInternationalBoundary25KM
  2. MapplsRasterCatalogueLayerTypeAirport8To12KMYellow
  3. MapplsRasterCatalogueLayerTypeAirport5To8KM
  4. MapplsRasterCatalogueLayerTypeAirport0To5KM

Now that you’re all caught up with the features, let's get down right to them and look at how you can integrate our RasterCatalogue plugin to add data on your map in few simple steps.

var rasterCataloguePlugin : MapplsRasterCataloguePlugin = MapplsRasterCataloguePlugin(mapView: mapView)

Use instance of MapplsRasterCataloguePlugin to show response of RasterCatalogue API as Map Layers.

For infomation about RasterCatalogue API go here.

Below are parameters of MapplsRasterCatalogueLayerOptions class.

  • layerType (mandatory): It is an enum of type MapplsRasterCatalogueLayerType.

  • crossOrigin (optional): It is of type String. For more info see here.

  • transparent (optional): It is type Bool. its default value is true.

  • zIndex (optional): It is of type BOOL. its default value is 0

Step 2 - Adding RasterCatalogue layer on Map

A function addRasterCatalogueLayer available in MapplsRasterCataloguePlugin which accepts request of type MapplsRasterCatalogueLayerOptions. Plugin internally consume that request to get response and plot layer on Map accordingly.

let request = MapplsRasterCatalogueLayerOptions(layerType: .airport5To8KM)
self.rasterCataloguePlugin.addRasterCatalogueLayer(request)

Other Methods Available:

1. Remove RasterCatalogue Layer

removeRasterCatalogueLayer is a function which accepts request of type MapplsRasterCatalogueLayerOptions to remove related layer from map.

let request = MapplsRasterCatalogueLayerOptions(layerType: .airport5To8KM)
geoanalyticsPlugin.removeRasterCatalogueLayer(layerRequestState))




Our many happy customers:


For any queries and support, please contact:

Email us at [email protected]

Support Need support? contact us!



@ Copyright 2020 CE Info Systems Pvt. Ltd. All Rights Reserved.

About

Mappls Raster Catalogue Native for iOS distributed via the SPM (Swift Package Manager).

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages