-1

I have svg maps of floor plans which I am using OpenLayers to project and display interactive features on.

I would like to load the files from my database, (where they are stored as blobs) instead of specifying a path in my file system. Is this possible?

1

I guess I deserved the vote down... I had a mistake in my code.. used the exact way I load all images dynamically. Don't forget to set the content type:

response.setContentType("image/svg+xml");

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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