Overlayer Viewport (User-Hosted)
Overlayer is Javascript code
(see sample in action) to show a slippy map (like on the home page of this website).
A slippy map (where you pan/slip the map with your finger or mouse) is the name for Google Maps, Bing Maps, Castlemap, etc. and almost all maps are controlled with JavaScript code. Another popular slippy map JavaScript library is
Leaflet.
Files required;
-
HTML is the base code ("save page" or right click and "view page source").
-
overlayer-user-buttons.js which is what button/tiles you want displayed. Note that Google tiles are unavailable (unless you have an Google account and pay Google).
-
overlayer-before.js which is placed at the start of your html page (inside <head>).
-
overlayer-after.js which is placed at the end of your html page (before the closing </body> tag).
-
overlayer-style.css for some simple CSS styling.
Here is a
simple map* for builders (using Overlayer JavaScript) promoting floor plans of granny flats they can build.
* copy source code from the above page to your web site.
Licencing
Overlayer JavaScript can be used non-commercially under a
community licence or via a
tiered commerical licence (using employee/subcontractor head count).
Community Licence
For non commerical websites use the
Attribution-NonCommercial-NoDerivatives 4.0 licence.
This license enables reusers to copy and distribute the material in any medium or format in unadapted form only, for noncommercial purposes only, and only if attribution is given to the creator.
CC BY-NC-ND includes the following elements:
BY: Credit must be given to you, the creator.
NC: Only noncommercial use of your work is permitted. Noncommercial means not primarily intended for or directed towards commercial advantage or monetary compensation.
ND: No derivatives or adaptations of your work are permitted.
Tiered Commerical Licence
To use Overlayer commerically, count how many employees you have (including subcontractors) and pay the below yearly rate (see bottom of page). Note that part time employees are added up as fractions (e.g. 2 part time 2 days a week = 1 employee).
| Type |
No. Of Employees |
Price Per year |
| Small Business |
1-4 |
$300 |
| Small to medium business |
5 - 14 |
$900 |
| Medium business |
15 - 29 |
$1,500 |
| Large business |
30+ |
$3,000 |
Buy A Tiered Commercial Licence
Please send payment via
PayID (through your banking app/portal) to my PayID* (see my PayID email below) and include in the description
your name and
domain name the code will be used. PayID is more secure as it is a push payment (unlike credit cards).
* pay at daniellyons.net
2) You can contact me at
DanielLyons.net if you have any questions.