-1

How can I use objects, properties and methods of the OpenLayers 3 development version? For example, I want to use a property of ol.geom (ol.geom.translate) of the non stable version (3.4.0).

1 Answer 1

0

The version of OpenLayers that your webpage uses is based on whatever path you specify in the tag. So, just download which ever version you want to use and save it in an appropriate location, then set your OpenLayers tag to point to it.

EDIT
To get the very latest - on the download page, follow the link to the GitHub code repository, where you can get the raw bleeding edge code. You will need to build it yourself but this means you can customise the build to include only what you need (another advantage of OL3 vs OL2).

3
  • Thanks por responding, but the versions that are ready for download doens´t include some features that are in experimental mode in the OL3 API, only the stable ones. For example, ol.geom.translate ins not availabe in the stable versions. Commented Apr 23, 2015 at 16:21
  • You CAN get the "bleeding-edge" releases. See my edit above (for instance, at the time of writing, a quick glance showed the latest update was only 21 hours old). The link you need is on the download page. Commented Apr 24, 2015 at 6:23
  • Now, your edit is exactly what I need. Thank you very much, MappaGnosis. Commented Apr 25, 2015 at 11:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.