<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: IT Solutionist, Specialist</title>
    <description>The latest articles on DEV Community by IT Solutionist, Specialist (@it718).</description>
    <link>https://dev.to/it718</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F586493%2F511f639b-d6eb-4512-bca1-b266522b7ee5.jpg</url>
      <title>DEV Community: IT Solutionist, Specialist</title>
      <link>https://dev.to/it718</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/it718"/>
    <language>en</language>
    <item>
      <title>How to convert a image from Google Map(Div)?</title>
      <dc:creator>IT Solutionist, Specialist</dc:creator>
      <pubDate>Thu, 27 May 2021 03:14:21 +0000</pubDate>
      <link>https://dev.to/it718/how-to-convert-a-image-from-google-map-div-3091</link>
      <guid>https://dev.to/it718/how-to-convert-a-image-from-google-map-div-3091</guid>
      <description>&lt;p&gt;1.&lt;br&gt;
Hello. Thanks for reading my article in advance.&lt;br&gt;
As you can see above picture, I have displayed a map using Google Map API.&lt;br&gt;
I want to convert a image from that google map using JavaScript.&lt;br&gt;
Who is Someone expert in this part?&lt;br&gt;
Let's discuss in a detail.&lt;br&gt;
Thanks&lt;br&gt;
2.&lt;br&gt;
I have got a solution.&lt;br&gt;
We can use &lt;code&gt;html2canvas&lt;/code&gt; library.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;html2canvas(document.getElementById("[your map id]"), {
    useCORS: true,
}).then(function(canvas) {
    var img = canvas.toDataURL("image/jpeg");
    var image = new Image();
    image.src = img;
    document.getElementById("[div to display an image]").appendChild(image);
});
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It just displays the google map as an image.&lt;br&gt;
Thanks&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>googlemapapi</category>
      <category>html</category>
      <category>css</category>
    </item>
    <item>
      <title>Installing the latest node version using NVM for windows</title>
      <dc:creator>IT Solutionist, Specialist</dc:creator>
      <pubDate>Fri, 26 Feb 2021 02:03:00 +0000</pubDate>
      <link>https://dev.to/it718/installing-the-latest-node-version-using-nvm-4jan</link>
      <guid>https://dev.to/it718/installing-the-latest-node-version-using-nvm-4jan</guid>
      <description>&lt;ol&gt;
&lt;li&gt;Open the command prompt on your pc.&lt;/li&gt;
&lt;li&gt;Run the following command with your cmd.
If you have the best way, please tell me.
Thanks&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>node</category>
    </item>
  </channel>
</rss>
