See
community licencing and
commercial licencing below. Also
how to buy a licence.
Note that some base layers require an account/payment/password (Google) while other base layers are community layers where they are not officially for general use (just testing and lite use only and may go offline).
Overlayer Viewport (User-Hosted)
Overlayer is Javascript code 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 JavaScript slippy map is
Leaflet (however it doesn't work well with overlayers/filters).
Here is a
simple map* for builders (using Overlayer JavaScript) promoting floor plans of granny flats they can build.
* copy source HTML code from the above page to your web site.
Files required;
-
HTML is the base code ("save page" or right click and "view page source").
-
overlayer-user-options.js which is what button/tiles you want displayed (plus default map options).
-
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.
-
overlayer-log-script.php (optional file) to log partial IP addresses (e.g. 127.10.**.**) for the past 15 minutes. The log will delay community tiles when your server is under heavy load. Save the file with a .php extension.
-
overlayer-password-tiles.php (optional file) is to get a tile with a API key/password (Google roads and/or satelite imagery). Save the file with a .php extension.
Licencing
Overlayer JavaScript can be used non-commercially under a
community licence or via a
tiered commerical licence (using employee/subcontractor head count to determine pricing tier).
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 your
domain name where the code will be used (so I can assign copyright). 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.