简体   繁体   中英

Set Up OL3 with Closure

Does anybody have a site or a tutorial of how to set up Openlayers 3 with Closure? I tried it now for a few days and still have to give up.

You need the Closure Library to set up the Open Layers Library.

But how do I combine this? At the moment I use the built ol.js by OpenLayers which does its deed, but in the future this may not be the right thing.

It seems to be important where each script is placed, but since I am using this on a huge website, with Java + Spring, IBATIS, postgreSQL and JAWR, it is rather complex to implement Closure and Openlayers into this, without just using one or two Javascript libraries.

您必须在HTML中链接ol-deps.js和goog / base.js

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM