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

Added ability to customize the OSM url #179

Merged
merged 1 commit into from
Dec 24, 2015
Merged

Added ability to customize the OSM url #179

merged 1 commit into from
Dec 24, 2015

Conversation

BerryDaniel
Copy link

Feature addition #176

Added two setting variables:

var settings = {
  coordinateDisplay: coordinateDisplays.DMS,
  DDPrecision: 8,
  WFSVersion: '1.1.0',
  WMSVersion: '1.1.1',
  WPSVersion: '1.0.0',
  //Set to OsmLocalUrl to 'default' for default mapnick osm basemap
  OsmLocalUrl: 'default',
  //OsmLocalUrl: 'http://{a-c}.tile.opencyclemap.org/cycle/{z}/{x}/{y}.png',
  OsmLocalAttribution: 'All maps &copy; <a href="http://www.opencyclemap.org/">OpenCycleMap</a>'
};

OsmLocalAttribution is only used if OsmLocalUrl is not 'default'

Screenshot displays opencyclemap.org being used, instead of default mapnik.
screen shot 2015-12-24 at 1 39 25 am

smesdaghi added a commit that referenced this pull request Dec 24, 2015
Added ability to customize the OSM url
@smesdaghi smesdaghi merged commit 919155e into ROGUE-JCTD:master Dec 24, 2015
@BerryDaniel BerryDaniel deleted the osm_url#176 branch January 11, 2016 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants