Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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?

share|improve this question
add comment

1 Answer 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");
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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