koopjs / koop

Transform, query, and download geospatial data on the web.
http://koopjs.github.io
Other
651 stars 125 forks source link

New AGOL/Portal cannot add Koop service #379

Closed AvidDabbler closed 1 year ago

AvidDabbler commented 2 years ago

I am building my start up with KoopJS at the moment and I am having an issue where the only way that I can add a service to the portal is through the classic map viewer service on AGOL.

I have tried three different ways:

Here is the link to one of my Koop services that is working fine AGOL just so long as I import and save via the Classic Map View App

Koop Service

bsvensson commented 2 years ago

@AvidDabbler - seems to work fine in the current version of the map viewer:

AvidDabbler commented 2 years ago

@bsvensson I can confirm that you can add in a new layer with the new map viewer, but I am not able to save the layer to the portal after I add it in. This is still functionality that is only available in map viewer classic.

I am unable to get a screenshot of the classic, but here is the documentation on how to save layers in the map https://doc.arcgis.com/en/arcgis-online/reference/copy-save-layers.htm#ESRI_SECTION1_9F4C867CA85B4E4DA5945EF1C8BBC3E0

new map viewer layer properties

new testing layer https://trimet-koop-cy2uu.ondigitalocean.app/vehicles/FeatureServer/0/

odoe commented 2 years ago

The note at the top says that save functionality is only in classic, not the new map viewer yet.

This functionality is currently only supported in Map Viewer Classic. It will be available in a future release of Map Viewer.

Can you save it as an item in your content page first, then add it to the new Map Viewer?

AvidDabbler commented 2 years ago

The service cannot be added via the content page, but I have confirmed that it can be added via both versions of map viewer. There are still extent issues when adding via the new web viewer.

Sent from a rock in space, Walter

On Tue, Feb 8, 2022, 10:50 AM Rene Rubalcava @.***> wrote:

The note at the top says that save functionality is only in classic, not the new map viewer yet.

This functionality is currently only supported in Map Viewer Classic. It will be available in a future release of Map Viewer.

Can you save it as an item in your content page first, then add it to the new Map Viewer?

— Reply to this email directly, view it on GitHub https://github.com/koopjs/koop/issues/379#issuecomment-1032835880, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACAUJTAMABH4LHQKCZK5A5TU2FCVRANCNFSM5E4OSSFA . You are receiving this because you were mentioned.Message ID: @.***>

freddiesia commented 1 year ago

I am able to add as a feature service and view the data in map viewer. However, when I used the Zoom To function, it failed to zoom in. Do you have this problem?

jmp601 commented 1 year ago

Have you all tried to throw any custom parameters the service at it when adding a layer? I have noticed this is a requirement for certain feature services in the new viewer. https://developers.arcgis.com/web-map-specification/objects/customParameters/

rgwozdz commented 1 year ago

@AvidDabbler - wondering if we can close this? Is it still an issue?

AvidDabbler commented 1 year ago

I think I got it to work. It been a while since I touched it but I think i finally got it to work.

freddiesia commented 1 year ago

Yes, you can close it now. Thanks.

From: Rich Gwozdz @.> Sent: Thursday, 16 March 2023 3:57 AM To: koopjs/koop @.> Cc: Freddie Sia @.>; Comment @.> Subject: Re: [koopjs/koop] New AGOL/Portal cannot add Koop service (#379)

[CAUTION: This email originated from outside of the organisation. Do not click links or open attachments unless you recognise the sender and know the content is safe.]

@AvidDabblerhttps://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAvidDabbler&data=05%7C01%7Cfreddie.sia%40customerservice.nsw.gov.au%7Ca7fbd18a391b4ae832cd08db25764127%7C1ef97a68e8ab44eda16db579fe2d7cd8%7C0%7C0%7C638144962055775066%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=H1eIi2yFMaLdPgmlGsds3tBUKsesoO66GwMZpaPiRTo%3D&reserved=0 - wondering if we can close this? Is it still an issue?

- Reply to this email directly, view it on GitHubhttps://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fkoopjs%2Fkoop%2Fissues%2F379%23issuecomment-1470404203&data=05%7C01%7Cfreddie.sia%40customerservice.nsw.gov.au%7Ca7fbd18a391b4ae832cd08db25764127%7C1ef97a68e8ab44eda16db579fe2d7cd8%7C0%7C0%7C638144962055775066%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=YbV8ztcaQMxQOFh3jN9J7GC%2FApUyAetqVVgnSmev6T8%3D&reserved=0, or unsubscribehttps://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FA2AQ3TQQZOU46FXNCDBEX6DW4HYERANCNFSM5E4OSSFA&data=05%7C01%7Cfreddie.sia%40customerservice.nsw.gov.au%7Ca7fbd18a391b4ae832cd08db25764127%7C1ef97a68e8ab44eda16db579fe2d7cd8%7C0%7C0%7C638144962055775066%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=JYmPA%2Bz%2Fvz9Jwx%2FLBLs0qrlpWSz0zwPKu7lrrcl%2BG%2FA%3D&reserved=0. You are receiving this because you commented.Message ID: @.**@.>>