svg text does not appear Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Data science time! April 2019 and salary with experience The Ask Question Wizard is Live!MySQL: Large VARCHAR vs. TEXT?XPointers in SVGSVG viewBox to VML coordorigin/coordsizeSVG text - total length changes depending on zoomSVG / Raphael relative stroke-sizeHow do I find all files containing specific text on Linux?Epub Fixed Layout is not full screen in PortraitSVG fill-rule cutout with different stroke widthsResize SVG to 100% width but keep circles radius, how to do that?imagemagick - convert does not work with use xlink:href in SVG - possible?

Suing a Police Officer Instead of the Police Department

Converting a text document with special format to Pandas DataFrame

Can I ask an author to send me his ebook?

false 'Security alert' from Google - every login generates mails from 'no-reply@accounts.google.com'

Does Prince Arnaud cause someone holding the Princess to lose?

Can this water damage be explained by lack of gutters and grading issues?

What's the connection between Mr. Nancy and fried chicken?

Short story about an alien named Ushtu(?) coming from a future Earth, when ours was destroyed by a nuclear explosion

A journey... into the MIND

How was Lagrange appointed professor of mathematics so early?

Why doesn't the university give past final exams' answers?

Weaponising the Grasp-at-a-Distance spell

Kepler's 3rd law: ratios don't fit data

/bin/ls sorts differently than just ls

How to get a single big right brace?

What is the definining line between a helicopter and a drone a person can ride in?

Who can become a wight?

“Since the train was delayed for more than an hour, passengers were given a full refund.” – Why is there no article before “passengers”?

Etymology of 見舞い

Recursive calls to a function - why is the address of the parameter passed to it lowering with each call?

How can I introduce the names of fantasy creatures to the reader?

Is there a verb for listening stealthily?

What could prevent concentrated local exploration?

Protagonist's race is hidden - should I reveal it?



svg text does not appear



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
Data science time! April 2019 and salary with experience
The Ask Question Wizard is Live!MySQL: Large VARCHAR vs. TEXT?XPointers in SVGSVG viewBox to VML coordorigin/coordsizeSVG text - total length changes depending on zoomSVG / Raphael relative stroke-sizeHow do I find all files containing specific text on Linux?Epub Fixed Layout is not full screen in PortraitSVG fill-rule cutout with different stroke widthsResize SVG to 100% width but keep circles radius, how to do that?imagemagick - convert does not work with use xlink:href in SVG - possible?



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















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.






<svg 
id="svg"
width="1000" height="1000"
viewBox="27.9043663 -43.2012437 0.0366674 0.0366674"
preserveAspectRatio="xMidYMid meet"
xmlns="http://www.w3.org/2000/svg"
xlink="http://www.w3.org/1999/xlink"
ev="http://www.w3.org/2001/xml-events"
shape-rendering="geometricPrecision"
>

<circle cx=27.9227000 cy=-43.1829100 r="0.016667" style="stroke:#000; stroke-width:0.00016667;" fill="none"/>
<text x=27.9227000 y=-43.1829100 fill="#000" font-family="'Lucida Grande', sans-serif" font-size="12">test</text>
</svg>












share|improve this question




























    0















    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.






    <svg 
    id="svg"
    width="1000" height="1000"
    viewBox="27.9043663 -43.2012437 0.0366674 0.0366674"
    preserveAspectRatio="xMidYMid meet"
    xmlns="http://www.w3.org/2000/svg"
    xlink="http://www.w3.org/1999/xlink"
    ev="http://www.w3.org/2001/xml-events"
    shape-rendering="geometricPrecision"
    >

    <circle cx=27.9227000 cy=-43.1829100 r="0.016667" style="stroke:#000; stroke-width:0.00016667;" fill="none"/>
    <text x=27.9227000 y=-43.1829100 fill="#000" font-family="'Lucida Grande', sans-serif" font-size="12">test</text>
    </svg>












    share|improve this question
























      0












      0








      0








      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.






      <svg 
      id="svg"
      width="1000" height="1000"
      viewBox="27.9043663 -43.2012437 0.0366674 0.0366674"
      preserveAspectRatio="xMidYMid meet"
      xmlns="http://www.w3.org/2000/svg"
      xlink="http://www.w3.org/1999/xlink"
      ev="http://www.w3.org/2001/xml-events"
      shape-rendering="geometricPrecision"
      >

      <circle cx=27.9227000 cy=-43.1829100 r="0.016667" style="stroke:#000; stroke-width:0.00016667;" fill="none"/>
      <text x=27.9227000 y=-43.1829100 fill="#000" font-family="'Lucida Grande', sans-serif" font-size="12">test</text>
      </svg>












      share|improve this question














      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.






      <svg 
      id="svg"
      width="1000" height="1000"
      viewBox="27.9043663 -43.2012437 0.0366674 0.0366674"
      preserveAspectRatio="xMidYMid meet"
      xmlns="http://www.w3.org/2000/svg"
      xlink="http://www.w3.org/1999/xlink"
      ev="http://www.w3.org/2001/xml-events"
      shape-rendering="geometricPrecision"
      >

      <circle cx=27.9227000 cy=-43.1829100 r="0.016667" style="stroke:#000; stroke-width:0.00016667;" fill="none"/>
      <text x=27.9227000 y=-43.1829100 fill="#000" font-family="'Lucida Grande', sans-serif" font-size="12">test</text>
      </svg>








      <svg 
      id="svg"
      width="1000" height="1000"
      viewBox="27.9043663 -43.2012437 0.0366674 0.0366674"
      preserveAspectRatio="xMidYMid meet"
      xmlns="http://www.w3.org/2000/svg"
      xlink="http://www.w3.org/1999/xlink"
      ev="http://www.w3.org/2001/xml-events"
      shape-rendering="geometricPrecision"
      >

      <circle cx=27.9227000 cy=-43.1829100 r="0.016667" style="stroke:#000; stroke-width:0.00016667;" fill="none"/>
      <text x=27.9227000 y=-43.1829100 fill="#000" font-family="'Lucida Grande', sans-serif" font-size="12">test</text>
      </svg>





      <svg 
      id="svg"
      width="1000" height="1000"
      viewBox="27.9043663 -43.2012437 0.0366674 0.0366674"
      preserveAspectRatio="xMidYMid meet"
      xmlns="http://www.w3.org/2000/svg"
      xlink="http://www.w3.org/1999/xlink"
      ev="http://www.w3.org/2001/xml-events"
      shape-rendering="geometricPrecision"
      >

      <circle cx=27.9227000 cy=-43.1829100 r="0.016667" style="stroke:#000; stroke-width:0.00016667;" fill="none"/>
      <text x=27.9227000 y=-43.1829100 fill="#000" font-family="'Lucida Grande', sans-serif" font-size="12">test</text>
      </svg>






      svg text






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 22 at 13:54









      xentiaxentia

      1551414




      1551414






















          1 Answer
          1






          active

          oldest

          votes


















          1














          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.






          svgborder:1px solid;width:90vh;

          <svg 
          id="svg"
          viewBox="27.9043663 -43.2012437 0.0366674 0.0366674"
          preserveAspectRatio="xMidYMid meet"
          xmlns="http://www.w3.org/2000/svg"
          xlink="http://www.w3.org/1999/xlink"
          ev="http://www.w3.org/2001/xml-events"
          shape-rendering="geometricPrecision"
          >

          <circle cx=27.9227000 cy=-43.1829100 r="0.016667" style="stroke:#000; stroke-width:0.00016667;" fill="none"/>
          <text x=27.91 y=-43.179 fill="#000" font-family="'Lucida Grande', sans-serif" font-size=".014">test</text>
          </svg>





          I would recomend reading about The Limits of Numbers in SVG






          share|improve this answer

























          • Thank you. That was the reason. Obviously i must scale my coordinates.

            – xentia
            Mar 22 at 14:38











          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55301148%2fsvg-text-does-not-appear%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          1














          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.






          svgborder:1px solid;width:90vh;

          <svg 
          id="svg"
          viewBox="27.9043663 -43.2012437 0.0366674 0.0366674"
          preserveAspectRatio="xMidYMid meet"
          xmlns="http://www.w3.org/2000/svg"
          xlink="http://www.w3.org/1999/xlink"
          ev="http://www.w3.org/2001/xml-events"
          shape-rendering="geometricPrecision"
          >

          <circle cx=27.9227000 cy=-43.1829100 r="0.016667" style="stroke:#000; stroke-width:0.00016667;" fill="none"/>
          <text x=27.91 y=-43.179 fill="#000" font-family="'Lucida Grande', sans-serif" font-size=".014">test</text>
          </svg>





          I would recomend reading about The Limits of Numbers in SVG






          share|improve this answer

























          • Thank you. That was the reason. Obviously i must scale my coordinates.

            – xentia
            Mar 22 at 14:38















          1














          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.






          svgborder:1px solid;width:90vh;

          <svg 
          id="svg"
          viewBox="27.9043663 -43.2012437 0.0366674 0.0366674"
          preserveAspectRatio="xMidYMid meet"
          xmlns="http://www.w3.org/2000/svg"
          xlink="http://www.w3.org/1999/xlink"
          ev="http://www.w3.org/2001/xml-events"
          shape-rendering="geometricPrecision"
          >

          <circle cx=27.9227000 cy=-43.1829100 r="0.016667" style="stroke:#000; stroke-width:0.00016667;" fill="none"/>
          <text x=27.91 y=-43.179 fill="#000" font-family="'Lucida Grande', sans-serif" font-size=".014">test</text>
          </svg>





          I would recomend reading about The Limits of Numbers in SVG






          share|improve this answer

























          • Thank you. That was the reason. Obviously i must scale my coordinates.

            – xentia
            Mar 22 at 14:38













          1












          1








          1







          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.






          svgborder:1px solid;width:90vh;

          <svg 
          id="svg"
          viewBox="27.9043663 -43.2012437 0.0366674 0.0366674"
          preserveAspectRatio="xMidYMid meet"
          xmlns="http://www.w3.org/2000/svg"
          xlink="http://www.w3.org/1999/xlink"
          ev="http://www.w3.org/2001/xml-events"
          shape-rendering="geometricPrecision"
          >

          <circle cx=27.9227000 cy=-43.1829100 r="0.016667" style="stroke:#000; stroke-width:0.00016667;" fill="none"/>
          <text x=27.91 y=-43.179 fill="#000" font-family="'Lucida Grande', sans-serif" font-size=".014">test</text>
          </svg>





          I would recomend reading about The Limits of Numbers in SVG






          share|improve this answer















          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.






          svgborder:1px solid;width:90vh;

          <svg 
          id="svg"
          viewBox="27.9043663 -43.2012437 0.0366674 0.0366674"
          preserveAspectRatio="xMidYMid meet"
          xmlns="http://www.w3.org/2000/svg"
          xlink="http://www.w3.org/1999/xlink"
          ev="http://www.w3.org/2001/xml-events"
          shape-rendering="geometricPrecision"
          >

          <circle cx=27.9227000 cy=-43.1829100 r="0.016667" style="stroke:#000; stroke-width:0.00016667;" fill="none"/>
          <text x=27.91 y=-43.179 fill="#000" font-family="'Lucida Grande', sans-serif" font-size=".014">test</text>
          </svg>





          I would recomend reading about The Limits of Numbers in SVG






          svgborder:1px solid;width:90vh;

          <svg 
          id="svg"
          viewBox="27.9043663 -43.2012437 0.0366674 0.0366674"
          preserveAspectRatio="xMidYMid meet"
          xmlns="http://www.w3.org/2000/svg"
          xlink="http://www.w3.org/1999/xlink"
          ev="http://www.w3.org/2001/xml-events"
          shape-rendering="geometricPrecision"
          >

          <circle cx=27.9227000 cy=-43.1829100 r="0.016667" style="stroke:#000; stroke-width:0.00016667;" fill="none"/>
          <text x=27.91 y=-43.179 fill="#000" font-family="'Lucida Grande', sans-serif" font-size=".014">test</text>
          </svg>





          svgborder:1px solid;width:90vh;

          <svg 
          id="svg"
          viewBox="27.9043663 -43.2012437 0.0366674 0.0366674"
          preserveAspectRatio="xMidYMid meet"
          xmlns="http://www.w3.org/2000/svg"
          xlink="http://www.w3.org/1999/xlink"
          ev="http://www.w3.org/2001/xml-events"
          shape-rendering="geometricPrecision"
          >

          <circle cx=27.9227000 cy=-43.1829100 r="0.016667" style="stroke:#000; stroke-width:0.00016667;" fill="none"/>
          <text x=27.91 y=-43.179 fill="#000" font-family="'Lucida Grande', sans-serif" font-size=".014">test</text>
          </svg>






          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Mar 22 at 14:20

























          answered Mar 22 at 14:06









          enxanetaenxaneta

          10.4k2821




          10.4k2821












          • Thank you. That was the reason. Obviously i must scale my coordinates.

            – xentia
            Mar 22 at 14:38

















          • Thank you. That was the reason. Obviously i must scale my coordinates.

            – xentia
            Mar 22 at 14:38
















          Thank you. That was the reason. Obviously i must scale my coordinates.

          – xentia
          Mar 22 at 14:38





          Thank you. That was the reason. Obviously i must scale my coordinates.

          – xentia
          Mar 22 at 14:38



















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55301148%2fsvg-text-does-not-appear%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

          Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript