in Education by
I use svg to draw soe geographic data. In order to do that i set my viewbox to match a real world and I use GPS coordinates. I want to draw a circle by given coordinates and write some text inside it. Circle is ok, but where is text? Below is a fiddle example. test Run code snippetExpand snippet JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
Your text is very big. So big that your circle stays within the gaps of the text. Try font-size=".014". I'm afraid smaller than this won't render. svg{border:1px solid;width:90vh;} test Run code snippetExpand snippet I would recomend reading about The Limits of Numbers in SVG

Related questions

0 votes
    I use svg to draw soe geographic data. In order to do that i set my viewbox to match a real ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 7, 2022 in Education by JackTerrance
0 votes
    This does not appear under modify transition pane. Sound Music Duration Select the correct answer from above options...
asked Dec 13, 2021 in Education by JackTerrance
0 votes
    What does SVG stand for?...
asked Mar 4, 2023 in Technology by JackTerrance
0 votes
    How does SVG describe complex shapes? (a) Path of lines (b) Path of curves (c) Path of lines ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 23, 2021 in Education by JackTerrance
0 votes
    When does JavaScript code appear inline within an HTML file? (a) Between the script tag (b) ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 23, 2021 in Education by JackTerrance
0 votes
    I have user control named DateTimeUC which has two textboxes on its markup: I am dynamically creating this ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 13, 2022 in Education by JackTerrance
0 votes
    I have user control named DateTimeUC which has two textboxes on its markup: I am dynamically creating this ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 13, 2022 in Education by JackTerrance
0 votes
    I have user control named DateTimeUC which has two textboxes on its markup: I am dynamically creating this ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 13, 2022 in Education by JackTerrance
0 votes
    Which of the following attribute is being used to put the pen down at (10,25) in SVG?...
asked Mar 7, 2023 in Technology by JackTerrance
0 votes
    Let's say I have the following html context, which I don't have access to its creation : What I' ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 17, 2022 in Education by JackTerrance
0 votes
    I need to render a vector-only SVG without antialiasing in Qt; specifically, I don't want the resulting ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 13, 2022 in Education by JackTerrance
0 votes
    I want to display an path in Fabric.JS, in svg file: And code in my Fabricjs var Path_0_1 = new ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 4, 2022 in Education by JackTerrance
0 votes
    Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Want ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 13, 2022 in Education by JackTerrance
0 votes
    Can you use SVG tags directly in HTML5 without any plugin? A - true B - false...
asked Dec 2, 2020 in Technology by JackTerrance
0 votes
    Explain what is SVG group element in d3.js?...
asked Nov 14, 2020 in Technology by JackTerrance
...