Questions tagged [jaggery-js]

Jaggery is a framework to write webapps and HTTP-focused web services for all aspects of the application: front-end, communication, Server-side logic and persistence in pure Javascript.

54 questions
0
votes
0 answers

Get SVG content receives from API and add as ImageOverlay in Leaflet

1. I manually copied the svg content to a svgMap.svg and accessed as follow var imageUrl = 'assets/img/svgMap.svg'; L.imageOverlay(imageUrl, imageBounds, {opacity: 0.7}).addTo(map); and this its working as expected. Since there I coudnt find a way…
Ramindu De Silva
  • 194
  • 4
  • 13
0
votes
1 answer

jaggery command line script does not execute the jaggery script in the argument

I tried writting some jaggery expressions in a separate .jag file and tried executing it as follows ./jaggery.sh file.jag The output is just the content in the file. Whatever i have in the file is printed to the console. i.e if i have…
DesirePRG
  • 6,122
  • 15
  • 69
  • 114
0
votes
1 answer

How to create a FileHostObject from a url?

I have a URL of an image as a String. String url = "http://blog.room34.com/wp-content/uploads/underdog/logo.thumbnail.png" I want create a FileHostOject from that. (org.jaggeryjs.hostobjects.file.FileHostObject). Can anyone tell me how can I achieve…
Chamalee De Silva
  • 687
  • 1
  • 9
  • 28
0
votes
2 answers

How to upload images in jaggeryjs?

This is my sample HTML code fileupload