Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch the x's and the y's #11

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ The ArcGIS Feature Layer Viewer provides access to different ArcGIS Feature Laye

::

http://gis.cityofboston.gov/arcgis/rest/services/Basemaps/base_map_webmercatorV2/MapServer/tile/{z}/{x}/{y}
http://gis.cityofboston.gov/arcgis/rest/services/Basemaps/base_map_webmercatorV2/MapServer/tile/{z}/{y}/{x}

ArcGIS MapService Viewer (ags_ms_view)
--------------------------------------
Expand All @@ -49,7 +49,7 @@ The ArcGIS MapServer Viewer provides access to MapService and the ability to set

::

http://gis.cityofboston.gov/arcgis/rest/services/Basemaps/base_map_webmercatorV2/MapServer/tile/{z}/{x}/{y}
http://gis.cityofboston.gov/arcgis/rest/services/Basemaps/base_map_webmercatorV2/MapServer/tile/{z}/{y}/{x}

----------------------------
Configuration Options (.ini)
Expand All @@ -63,7 +63,7 @@ Can accept `Esri basemap name <http://esri.github.io/esri-leaflet/api-reference/

::

ckanext.agsview.default_basemap_url = http://example.com/MapServer/tile//{z}/{x}/{y}
ckanext.agsview.default_basemap_url = http://example.com/MapServer/tile//{z}/{y}/{x}


------------------------
Expand Down
2 changes: 1 addition & 1 deletion ckanext/agsview/templates/ags_fs_form.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% import 'macros/form.html' as form %}

{{ form.input('ags_url', id='field-ags_url', label=_('ags url'), placeholder=_('eg. http://.../MapServer/0'), value=data.ags_url, error=errors.ags_url, classes=['control-full', 'control-large']) }}
{{ form.input('basemap_url', id='field-basemap_url', label=_('basemap url'), placeholder=_('eg. http://.../tile/{z}/{x}/{y}'), value=data.basemap_url, error=errors.basemap_url, classes=['control-full', 'control-large']) }}
{{ form.input('basemap_url', id='field-basemap_url', label=_('basemap url'), placeholder=_('eg. http://.../tile/{z}/{y}/{x}'), value=data.basemap_url, error=errors.basemap_url, classes=['control-full', 'control-large']) }}
2 changes: 1 addition & 1 deletion ckanext/agsview/templates/ags_ms_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@

{{ form.input('ags_url', id='field-ags_url', label=_('ags url'), placeholder=_('eg. http://.../MapServer'), value=data.ags_url, error=errors.ags_url, classes=['control-full', 'control-large']) }}
{{ form.input('layer_ids', id='field-layer_ids', label=_('layer ids'), placeholder=_('Leave blank to return all layers'), value=data.layer_ids, error=errors.layer_ids, classes=['control-full', 'control-large']) }}
{{ form.input('basemap_url', id='field-basemap_url', label=_('basemap url'), placeholder=_('eg. http://.../tile/{z}/{x}/{y}'), value=data.basemap_url, error=errors.basemap_url, classes=['control-full', 'control-large']) }}
{{ form.input('basemap_url', id='field-basemap_url', label=_('basemap url'), placeholder=_('eg. http://.../tile/{z}/{y}/{x}'), value=data.basemap_url, error=errors.basemap_url, classes=['control-full', 'control-large']) }}