<?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: Gaurav Suhanda</title>
    <description>The latest articles on DEV Community by Gaurav Suhanda (@gauravsuhanda).</description>
    <link>https://dev.to/gauravsuhanda</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%2F555228%2F5de10852-5315-4f6b-9672-343a981e670c.jpg</url>
      <title>DEV Community: Gaurav Suhanda</title>
      <link>https://dev.to/gauravsuhanda</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/gauravsuhanda"/>
    <language>en</language>
    <item>
      <title>Namespace 'google.maps' has no exported member 'MouseEvent'</title>
      <dc:creator>Gaurav Suhanda</dc:creator>
      <pubDate>Thu, 07 Jan 2021 05:51:35 +0000</pubDate>
      <link>https://dev.to/gauravsuhanda/namespace-google-maps-has-no-exported-member-mouseevent-3gpp</link>
      <guid>https://dev.to/gauravsuhanda/namespace-google-maps-has-no-exported-member-mouseevent-3gpp</guid>
      <description>&lt;p&gt;I wanted to integrate Google Maps with my Angular project. In the pilot version, I was just following this link &lt;a href="https://angular-maps.com/guides/getting-started/"&gt;https://angular-maps.com/guides/getting-started/&lt;/a&gt;. Currently, I am stuck in error:&lt;/p&gt;

&lt;p&gt;node_modules/@agm/core/lib/directives/map.d.ts:232:43 - error TS2694: Namespace 'google.maps' has no exported member 'MouseEvent'&lt;/p&gt;

&lt;p&gt;232     mapDblClick: EventEmitter; &lt;/p&gt;

&lt;p&gt;I went to the file location and got this&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;mapClick: EventEmitter&amp;lt;google.maps.MouseEvent | google.maps.IconMouseEvent&amp;gt;;
/**
 * This event emitter gets emitted when the user right-clicks on the map (but not when they click
 * on a marker or infoWindow).
 */
mapRightClick: EventEmitter&amp;lt;google.maps.MouseEvent&amp;gt;;
/**
 * This event emitter gets emitted when the user double-clicks on the map (but not when they click
 * on a marker or infoWindow).
 */
mapDblClick: EventEmitter&amp;lt;google.maps.MouseEvent&amp;gt;;
/**
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Dependencies: npm install @agm/core npm i @types/googlemaps&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
