Search code examples
javajavascriptopenlayerszk

Native javascript with ZK?


Is it possible to use native javascript with the ZK Framework. (I would like to integrate the OpenLayers library) ?


Solution

  • Yes it is quite easy to use pure Javascript with ZK. You can use ZK's client side programming techniques to integrate any 3rd party Javascript library. Please refer to ZK Client-side programming and Integrate 3rd party Javascript Libraries with ZK

    Specific to OpenLayers, ZK team has already integrated it as a ZK component. You can refer to this ZK Openlayers Integration blogpost about the usage and more details. Not sure if you know but ZK also has google maps component which is more mature and already in use in production