OpenLayers

From Wildsong
Jump to navigationJump to search

Search for OpenLayers on this wiki to find other relevant pages. Or look in the category.

What is OpenLayers?

OpenLayers (http://openlayers.org/) is Javascript code you use on your Web server. You reference it from your own HTML and Javascript based pages, to put maps into your web site.

Docs for programmers: http://openlayers.org/en/latest/doc/

OpenLayers is very stable code. Version 5 was recently released. It supports tiled raster and vector layers. It supports editing. It seems to support everything that I want to do.

Books

OpenLayers is so popular that there are even books about it! None for version 5 yet that I know of. I removed all the books I had listed here because they were all more than 2 years old. :-) You can look in the History tab if you really want.

The Marin library has ebooks via Safari but they are for version 3.

I bought OpenLayers 3.x Cookbook and I am going through it. Yes.. OL 4.x is out, but the big break was 2->3, 3->4 is a smaller jump and there aren't books on 4 yet. Or 5.

My test samples

live server

Sometimes I have http://maps.wildsong.biz/ up on Bellman. Not right now. Maybe tonight.


at github

Currently I am using Node.JS and testing on my desktop. You can see code I have running here: https://github.com/brian32768/OpenlayersTests

That project has samples with OpenLayers 2, 4, and 5 (3 and 4 are the same basically so only one). Because there were BOOKS on 2 and 3 I started there and built samples, got them running and then stepped up.

There is an example using XYZ so that I could test an ESRI tile server.

Now I am now adding a Bootstrap + OpenLayers sample so that I can make something that looks like a real web site.