Sha256: f0de898c6909f47fe2866438e2fd5434619a50881a6317752911b96a2c6a1010
Contents?: true
Size: 372 Bytes
Versions: 20
Compression:
Stored size: 372 Bytes
Contents
# frozen_string_literal: true module ArcgisHelper ## # Generates an ArcGIS.com viewer url with params that can open content # directly # See: https://doc.arcgis.com/en/arcgis-online/reference/use-url-parameters.htm def arcgis_link(arcgis_urls) params = URI.encode_www_form( urls: arcgis_urls ) Settings.ARCGIS_BASE_URL + '?' + params end end
Version data entries
20 entries across 20 versions & 1 rubygems