[GIS] OpenLayers 3 measure example

html5javascriptMeasurementsopenlayersopenlayers-2

Here is my fiddle, which is exact copy of Openlayers 3 measure example.

What am I doing wrong when my fiddle isn't working? I can't see the blue dot to start measuring my path or area (same problem like in my localhost environment project)…

Best Answer

http://jsfiddle.net/a6pp9vwz/9/ working for me.

Console log said "$ not defined". $ is a jQuery class, so you need a jQuery environment to enable AJAX requests. You can enable jQuery in JSFiddle in the "Frameworks & Extensions" tab.