Loading local map package (.mmpk)

465
2
04-16-2018 12:19 PM
TylerLawson
New Contributor III

Currently, I have a map loading with a default streets basemap that shows some information. I was wondering if there was any way to load a local Map Package (.mmpk) file and add the layers to the map, similar to the functionality in the ArcGIS Runtime SDK for .NET.  Any information on the topic would be helpful.

Sincerely,

Tyler  Lawson

Tags (2)
0 Kudos
2 Replies
SrikanthHemadri
New Contributor II

Hi Tyler Lawson‌, ...did you find any solution!! If yes, could you please share it

0 Kudos
TylerLawson
New Contributor III

Unfortunately I have not yet found a good solution. To the best of my knowledge, the current solution would be to host the map package layers on an arcgis server as tiled layers or feature layers and access them that way. 

Resources: Basemap | API Reference | ArcGIS API for JavaScript 4.8 

FeatureLayer | API Reference | ArcGIS API for JavaScript 4.8 

0 Kudos