1

I have develop a JS webapp that call a arcgis services by web adaptor. The AGS is deploy into a back end server and web adaptor into a front end server and web app is deploy into a separate web server with local ArcGIS JS API. Now i have some client that are into a VPN to see only these 3 server but this client not have a internet connection, so does not load arcgis basemap by AGOL. It's possible to load the basemap using a proxy or reverse proxy if the client user not have internet connection? There is some example?

1 Answer 1

1

I think the proxy usually just redirects basemap requests through the proxy. However the basemap tile request is still made through the client (i.e. the web server that hosts the proxy does not make the request to return to the client). I would say test it out on something simple to see.

Alternatively, it may be worth looking at this library that Esri have on their GitHub account.

In their own words:

Offline-editor-js is a family of libraries for building offline capabilities into web mapping applications. It's specifically designed to work with the ArcGIS API for JavaScript and ArcGIS Online. With these libraries you can store feature edits, attachments, map tiles and TPKs (Tile Packages).

In particular, look at the advanced map tiles and .tpk file options.

If the area that needs to be covered isn't all that big, the tile package may not take up much space. And because they are stored locally, they are extremely quick to load.

You could of course host basemaps on the AGS if necessary.

1
  • Great idea. Many mapping services (like Google Maps, etc) have a clause which prevents you from "storing" their data so it's probably worthwhile checking whether doing this breaks the terms of service. See stackoverflow.com/a/11165215/906814 Commented Jan 24, 2016 at 21:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.