Skip to content

Commit

Permalink
Overlay previews (leaflet-extras#270)
Browse files Browse the repository at this point in the history
* New maps: OpenPtMap, OpenRailWayMap, SafeCast added

* OpenFireMap added

* Fix test errors (colon position)

* Fix zoomlevel in OpenPtMap layer

* Allow double quotes in JSON (standard)

* Soooory, revert in lint definition

I just was in the wrong branch :-(

* Preview as overlay (OIM, OPM, ORM, OFM, SC)

OpenInfraMap, OpenPtMap, OpenRailwayMap, OpenFireMap, SafeCast
  • Loading branch information
chatelao authored and jieter committed Apr 12, 2018
1 parent 30233ec commit 8833ac6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion preview/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,12 @@
'Stamen.Toner(Hybrid|Lines|Labels)',
'Acetate.(foreground|labels|roads)',
'Hydda.RoadsAndLabels',
'^JusticeMap'
'^JusticeMap',
'OpenInfraMap.(Power|Telecom|Petroleum|Water)',
'OpenPtMap',
'OpenRailwayMap',
'OpenFireMap',
'SafeCast'
];

return providerName.match('(' + overlayPatterns.join('|') + ')') !== null;
Expand Down

0 comments on commit 8833ac6

Please sign in to comment.