Questions tagged as 'svg'

1
answer

Image within an SVG

I'm using a svg, and inside it placing an image I get from a variable by AngularJS. So far so good, the image appears normally, but I want to leave it with 100% width. I've tried everything and it does not work. Does anyone have any ideas? <...
asked by 14.01.2017 / 13:16
1
answer

Make SVG responsive

I can not manipulate the size of this hex, I would like it initially to have the size of 165x165px, and respectively make it responsive. I do not have much experience with SVG. <svg width="165" height="165"> <image xli...
asked by 21.07.2015 / 15:41
1
answer

SVG does not resize

I do not have much experience with SVG, and I find it very confusing how to work with these images, I need to leave this image with the size 35x35 px. I've exported the code in the illustrator of a SVG image of 512x512px, I want to work with...
asked by 25.07.2015 / 00:56
1
answer

How to bring a JSP page to the content of a postgis query?

I have postgis with a database that I have downloaded from ibge and I need to make an application in javaweb that reads the name of a municipality and brings back the data in the svg format and displays on the screen the region passed as a param...
asked by 16.06.2016 / 03:11
1
answer

Click event on an SVG

I have a map of Brazil, in an SVG, where I would like to present a div to each state when clicking on it. I managed to work with color change with hover using ID of each state of Brazil: function highlight_map_states(){...
asked by 13.04.2015 / 23:53
2
answers

How to insert an image using Laravel's Blade 5.1

If I need to insert a css file or a script, I should do respectively: <link href="{!! asset('css/style.css') !!}" type="text/css" /> <script type="text/javascript" src="{!! asset('js/app.js') !!}"></script> On some sites,...
asked by 07.12.2015 / 02:13
1
answer

Mouse position when moving an SVG object

In my JavaScript code, using the mouse I move an SVG rectangle from side to side. My problem is that when I click on the object, the mouse position is not fixed in the middle object but in the upper right corner and well outside the object. How...
asked by 19.10.2014 / 13:09
2
answers

How do I use the symbol tag in place of the g tag in iron-iconset-svg?

I'm trying to set an iron-iconset-svg using using the icons with the symbol tag instead of using the g tag and the icon is not rendered. In all documentation and references on the internet the SVG is used with the tag g. There is Here's some...
asked by 29.07.2015 / 20:01
0
answers

Create a drag for multiple SVG objects

I'm using Vue.js to create a jflap clone. However I'm having trouble creating the drag for each object. In the case, the circle when clicking and dragging this, should follow the mouse path until the release of the button where it should remain...
asked by 03.07.2015 / 23:29
2
answers

SVG file kartograph [closed]

Using kartograph, I want to load the SVG of this link: SVG . The first thing I noticed I was missing was the metadata tag. So I copied that tag from another SVG file, but the image still does not show up. Could anyone look at the svg file of th...
asked by 29.12.2014 / 21:24