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

Re: https://github.com/OpenHistoricalMap/issues/issues/929, changes t…o ohm-website to allow it to work with map-styles as an npm module. #269

Draft
wants to merge 2 commits into
base: staging
Choose a base branch
from
Draft
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
4 changes: 0 additions & 4 deletions app/assets/javascripts/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@
//= require leaflet.osm
//= require @maplibre/maplibre-gl-leaflet
//= require ohm.style
//= require ohm.style.original
//= require ohm.style.woodblock
//= require ohm.style.japanese
//= require ohm.style.railway
//= require leaflet-ohm-timeslider.js
//= require decimaldate.js
//= require leaflet.map
Expand Down
1 change: 1 addition & 0 deletions app/assets/javascripts/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
//= require index/directions
//= require index/changeset
//= require index/query
//= require map-styles/dist/ohm.styles
//= require index/timeslider
//= require router
//= require qs/dist/qs
Expand Down
2 changes: 1 addition & 1 deletion app/assets/javascripts/leaflet.map.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ L.OSM.Map = L.Map.extend({
code: "O",
keyid: "historical",
name: I18n.t("javascripts.map.base.historical"),
style: ohmVectorStyles.Original,
style: ohmVectorStyles.Historical,
})
));

Expand Down
Loading