esri / arcgis-maps-sdk-swift Goto Github PK
View Code? Open in Web Editor NEWSwift Package Manager support for ArcGIS Maps SDK for Swift
Home Page: https://developers.arcgis.com/swift
License: Other
Swift Package Manager support for ArcGIS Maps SDK for Swift
Home Page: https://developers.arcgis.com/swift
License: Other
I am following the first tutorial (Display a Map) to the letter: https://developers.arcgis.com/swift/maps-2d/tutorials/display-a-map/
At the completion of "Set your API Key" step 4 when I build and run it fails with several errors.
On "import ArcGIS" lines soon MainApp and ContentView I get a warning that "File "MainApp.swift" is part of module "ArcGIS". Ignoring import"
Thus I get error on MainApp:
On ContentView:
If I remove all ArcGIS-specific code from MainApp and ContentView, but leave package attached and build run, I get the following on the terminal:
warning: (arm64) /Users/......../Xcode/DerivedData/ArcGIS-hjnpakqxnfpnyhampxhiyvbreuev/Build/Products/Debug-iphonesimulator/ArcGIS.app/Frameworks/CoreArcGIS.framework/CoreArcGIS empty dSYM file detected, dSYM was created with an executable with no debug info.
With version 200.1 we currently have the issue that the switch of basemaps (also when using basemap-gallery) doesn't work when using multiple webmaps. So we have a viewmodel where we create Map using Map(item: ...). The basemaps are working correctly. When we then switch to another webmap also using Map(item: ...) and so override map in viewModel the switch of basemaps doesn't work properly anymore (so one basemap can be selected, the other cannot). Same issue with the Basemap-gallery (here even both basemaps cannot be selected).
e.g.
we first fetch default webmap with "item: PortalItem(portal: portal, id: PortalItem.ID("...")!) and after that we load portalItems/webmaps from portal manually with "findItems" and set selected map also in viewmodel.
It's working when we first load all portalItems/webmaps with "findItems" and then choose a portalItem with specific ID.
In the documentation for ImageTiledLayer it says A base class for layers that display cached maps. You would typically work with one or more sub-classes of this class.
How can one subclass an ImageTiledLayer when it is not set open but rather public? Am I missing something here?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.