Giter VIP home page Giter VIP logo

arcgis-maps-sdk-swift's Issues

Kotlin Multiplatform support

In my company we are migrating current apps to multiplatform Kotlin test versions.

Currently kotlin multiplatform does not support SPM, they only maintain integration with cocoapods.

Would it be possible to upload these dependencies to cocoapods?, or implement a multiplatform Kotlin library to use directly in the projects.

I'm waiting for the answer. greetings.

Multiple Layer classes should be set open not public

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?

Connect to own server

Hi there,
is it possible to connect to a own instance of an ArcGIS Server with this package and if so, how would one do this?

With own instance I am referring to a setup server with own collected map data. This ArcGIS Server already exists. I don't want to use the given data from Esri where you need these API Keys mentioned in the tutorial

Thanks in advance

Package arcgis-maps-sdk-swift 200.2.0 not working

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:

  • Cannot find "APIKey" in scope
  • Cannot find "ArcGISEnvironment" in scope

On ContentView:

  • Cannot find "Map" in scope
  • Cannot find "MapView" in scope

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.

Placing the sun in the sky

Hello,

Is it possible to place the sun in the sky in a SceneView? I can see there's an API for specifying a "sun date": https://developers.arcgis.com/swift/api-reference/documentation/arcgis/sceneview/sundate(_:). I believe this affects some kind of shadow rendering on topography. However, I don't see a straightforward way to place the sun in the sky in a time/view accurate location. For example, I'm looking for a capability like what's possible with Google Earth Pro's sun visualization.

Cheers.

Set map and viewpoint immediately one after the other

Hello everybody,

we are currently facing the issue, that we want to set a map and immediately afterwards a viewpoint. If we do that, the map is set but the viewpoint is not. So the call "proxy.setViewPoint" fails with "false". Pseudo-Example to demonstrate:

@Published var map: Map

func setMapWithViewPoint() async {
map = Map(item: portalItem)
await proxy.setViewpoint(viewPoint)
}

Do you have an idea what is the issue or how to solve it?

Thank you guys
Marvin

Switch of basemaps doesn't work properly when using multiple webmaps

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.