This operation is retained because its version-labelled public specification differs structurally from another generation. It is comparison evidence, not a promise of current support, compatibility, entitlement, or availability.
Compare before changing adapters
This is the v2 declaration and the highest version-labelled source evidence. “Preferred” does not prove provider support or semantic compatibility.
Open field-level comparison and migration checklistCall the operation
https://mgis-apiv2.mappls.com/map/getMap?datasetNme=india&height=256&width=256&bbox=7514065.628545968%2C2504688.542848655%2C8766409.899970295%2C3757032.8142729844&access_token=YOUR_ACCESS_TOKENhttps://mgis-apiv2.mappls.com/Parameters
datasetNmerequiredThe datasetNme of whose maptiles has to be fetched.
indiaheightrequiredTo set the height of the maptiles.
256widthrequiredTo set the width of the maptiles.
256bboxrequiredDefines the set of substitution values that can be used in SLD variable substitution.
7514065.628545968,2504688.542848655,8766409.899970295,3757032.8142729844access_tokenrequiredTo authorization token for the API access. It is mandatory both in case of user-defined geometry as well as for the published dataset.
YOUR_ACCESS_TOKENqueryTypequeryType value should be 'functionBased'. Mandatory when user has to perform geometric operations with or without 'cqlfilter'.
functionBasedcomparisonFunctionThe functions allowed are: Area and Length . This parameter is mandatory for queryType functionBased. Applicable for only queryType = 'functionBased'.
AreacomparisonOperatorThe operators allowed are: =, >, , >= and <=. This parameter is mandatory for queryType functionBased. Applicable for only queryType = 'functionBased'.
=comparisonValueThe value should be in numeric (in meters). This parameter is mandatory for queryType functionBased. Applicable for only queryType = 'functionBased'.
10transparentTo set the transparency of the maptiles.
trueenvEnables the user to change the styling of the layer.
fillcolor:023e8a, fillopacity:2a9d8f, strokecolor:283618,strokewidth:1,labelsize: 18, labelcolor: 772e25cql_filterTo pass the cqlfilter for fetching the filtered maptiles. This is an optional paramter when queryType = 'functionBased' is passed.
name = 'India'srsTo pass the projection of the maptiles.
EPSG:3857styleTo pass the style of the maptiles.
exampleBuild your request in eight languages
Change source-backed examples once, validate required inputs, and copy the synchronized cURL, JavaScript, Python, Java, C#, Go, PHP, or Ruby request. Credentials remain environment references, and this page never sends a provider request.
https://mgis-apiv2.mappls.com/map/getMap?datasetNme=india&height=256&width=256&bbox=7514065.628545968%2C2504688.542848655%2C8766409.899970295%2C3757032.8142729844&queryType=functionBased&comparisonFunction=Area&comparisonOperator=%3D&comparisonValue=10&transparent=true&env=fillcolor%3A023e8a%2C+fillopacity%3A2a9d8f%2C+strokecolor%3A283618%2Cstrokewidth%3A1%2Clabelsize%3A+18%2C+labelcolor%3A+772e25&cql_filter=name+%3D+%27India%27&srs=EPSG%3A3857&style=examplecurl --request GET \
--url 'https://mgis-apiv2.mappls.com/map/getMap?datasetNme=india&height=256&width=256&bbox=7514065.628545968%2C2504688.542848655%2C8766409.899970295%2C3757032.8142729844&queryType=functionBased&comparisonFunction=Area&comparisonOperator=%3D&comparisonValue=10&transparent=true&env=fillcolor%3A023e8a%2C+fillopacity%3A2a9d8f%2C+strokecolor%3A283618%2Cstrokewidth%3A1%2Clabelsize%3A+18%2C+labelcolor%3A+772e25&cql_filter=name+%3D+%27India%27&srs=EPSG%3A3857&style=example' \
--header "Accept: application/json" \
--header "Authorization: Bearer ${MAPPLS_ACCESS_TOKEN}"Credential-safe by constructionSet MAPPLS_ACCESS_TOKEN only in your trusted runtime. Code generation stays local. Sandbox execution sends only bounded fixture inputs to this developer platform and never reads a credential or calls Mappls.
Send a production-shaped request
Examples use environment-backed access tokens, explicit timeouts where supported, status checks, and JSON bodies derived from the source schema. Replace sample identifiers and coordinates with values from your application.
curl --request GET \
--url 'https://mgis-apiv2.mappls.com/map/getMap?datasetNme=india&height=256&width=256&bbox=7514065.628545968%2C2504688.542848655%2C8766409.899970295%2C3757032.8142729844&access_token=YOUR_ACCESS_TOKEN' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Responses
OK
Bad Request, User made an error while creating a valid request.
Unauthorized.
No data found in database.
Bad Request, User made an error while creating a valid request.
"example"Operate it safely
This operation observes durable platform state. Preserve resource identifiers and account for pagination, delay, and eventual consistency.
Contract provenance
- Source file
mappls-developer-platform/data/corpus/public-api-contracts/mapmyindia-mgis-apis/docs/v2/custom/layer_visualization.yml- SHA-256
789212df7cef0c3c95f49b37b2ce29dd4e8cedfaa496a797b04008071fc8fa34- Normalization
- Fields are parsed from OpenAPI. Operational guidance and language samples are generated and labeled separately.
- Source record
- Open repository audit