<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to remove certain options from an embedded google map? in Blog, Website &amp; Page Publishing</title>
    <link>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/How-to-remove-certain-options-from-an-embedded-google-map/m-p/322737#M3255</link>
    <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/21434"&gt;@mike-ward&lt;/a&gt;&amp;nbsp;That's what I'll go with then, thanks so much for answering all of my questions. I really appreciate it!&lt;/P&gt;</description>
    <pubDate>Fri, 28 Feb 2020 15:13:31 GMT</pubDate>
    <dc:creator>ajpalmer</dc:creator>
    <dc:date>2020-02-28T15:13:31Z</dc:date>
    <item>
      <title>How to remove certain options from an embedded google map?</title>
      <link>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/How-to-remove-certain-options-from-an-embedded-google-map/m-p/321983#M3224</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've recently been tasked with creating a landing page to host a confidential map. I used an html module and embedded it straight from google, but it came with options that aren't featured on the map itself when viewed from the source. It allows people to share, star and look at later, or open in large view which leads away from the gated page. All of these options defeat the whole purpose of the page. Is there any way to remove these options from the bar at the top? I've looked at the code and it only shows options for what it links to and its size.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2020 17:10:39 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/How-to-remove-certain-options-from-an-embedded-google-map/m-p/321983#M3224</guid>
      <dc:creator>ajpalmer</dc:creator>
      <dc:date>2020-02-26T17:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove certain options from an embedded google map?</title>
      <link>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/How-to-remove-certain-options-from-an-embedded-google-map/m-p/322140#M3228</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/121616"&gt;@ajpalmer&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;On the page you've placed the map, if you right click &amp;gt; Inspect to open the browser dev tools you can look at the code the embed creates, find the elements you want removed and what classes/ids they're using, and use CSS to hide them.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2020 06:44:44 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/How-to-remove-certain-options-from-an-embedded-google-map/m-p/322140#M3228</guid>
      <dc:creator>alyssamwilie</dc:creator>
      <dc:date>2020-02-27T06:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove certain options from an embedded google map?</title>
      <link>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/How-to-remove-certain-options-from-an-embedded-google-map/m-p/322210#M3230</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/121616"&gt;@ajpalmer&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Generally, if you're using the Google Maps Embed functionality, the customization options are a little limited. You can try manually hiding the controls as per&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/91608"&gt;@alyssamwilie&lt;/a&gt;, but an alternative would be to use the Google Maps &lt;STRONG&gt;Javascript API&lt;/STRONG&gt;. It's a little bit more of a technical set up, but it gives a huge amount of customization options.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You'll need a Google Cloud Platform Console account and to enable billing in order to use this and &lt;A href="https://developers.google.com/maps/documentation/javascript/get-api-key" target="_self"&gt;get an API key&lt;/A&gt;, but there's an extremely generous free tier (first $200 a month is free). I've never paid a cent for any Google Maps activity on any of mine or my clients' sites. Unless you'll be getting 20,000+ page views a month you almost certainly don't need to worry about it!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have a look at the &lt;A href="https://developers.google.com/maps/documentation/javascript/tutorial" target="_self"&gt;Overview example code&lt;/A&gt; in the documentation and you can then add one line just to entirely disable the UI, like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;function initMap() {
  var map = new google.maps.Map(document.getElementById('map'), {
    zoom: 4,
    center: {lat: -33, lng: 151},
    &lt;STRONG&gt;disableDefaultUI: true&lt;/STRONG&gt;
  });
}&lt;/PRE&gt;&lt;P&gt;And there's some more detail on that in the &lt;A href="https://developers.google.com/maps/documentation/javascript/controls" target="_self"&gt;Controls&lt;/A&gt; section of the docs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you just need a static image (i.e. no interaction at all) you can even use the &lt;A href="https://developers.google.com/maps/documentation/maps-static/intro" target="_self"&gt;Static Maps API&lt;/A&gt;, which is even easier and just renders as an image on your page. The free usage tier for that would be around 100,000 page views a month.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have fun, hope that helps!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2020 13:15:12 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/How-to-remove-certain-options-from-an-embedded-google-map/m-p/322210#M3230</guid>
      <dc:creator>mike-ward</dc:creator>
      <dc:date>2020-02-27T13:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove certain options from an embedded google map?</title>
      <link>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/How-to-remove-certain-options-from-an-embedded-google-map/m-p/322315#M3234</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/91608"&gt;@alyssamwilie&lt;/a&gt;&amp;nbsp;I don't know much about coding but I was able to delete the elements! Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, I have no idea how to save them to make the changes effective. I've followed a few tutorials online but I keep running into errors with access being denied when attempting to add a folder then selecting it as a source.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2020 15:45:06 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/How-to-remove-certain-options-from-an-embedded-google-map/m-p/322315#M3234</guid>
      <dc:creator>ajpalmer</dc:creator>
      <dc:date>2020-02-27T15:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove certain options from an embedded google map?</title>
      <link>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/How-to-remove-certain-options-from-an-embedded-google-map/m-p/322318#M3235</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/21434"&gt;@mike-ward&lt;/a&gt;&amp;nbsp;Thank you so much for the in-depth response! I may end up having to pursue this option.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been doing a bit of research since seeing your comment, but a lot of it goes over my head if I'm being honest. Is there any chance you happen to know off the top of your head if all sharing and copying function can be removed with this subscription?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2020 15:47:22 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/How-to-remove-certain-options-from-an-embedded-google-map/m-p/322318#M3235</guid>
      <dc:creator>ajpalmer</dc:creator>
      <dc:date>2020-02-27T15:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove certain options from an embedded google map?</title>
      <link>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/How-to-remove-certain-options-from-an-embedded-google-map/m-p/322322#M3236</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/121616"&gt;@ajpalmer&lt;/a&gt;&amp;nbsp;with the Static map, yes, I'm pretty sure by default it doesn't have any controls of any kind. It's just a map image. If you're not really familiar with Javascript or coding elements then I would say this is the easiest way to go!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With the Javascript API, as per the code above, if you initialize it that way there will be no overlays of any kind on the map. Users can still pan and ctrl+scroll/pinch to zoom, but there would be nothing on the top. But it does need a litle more know-how to get it implemented.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2020 15:58:02 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/How-to-remove-certain-options-from-an-embedded-google-map/m-p/322322#M3236</guid>
      <dc:creator>mike-ward</dc:creator>
      <dc:date>2020-02-27T15:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove certain options from an embedded google map?</title>
      <link>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/How-to-remove-certain-options-from-an-embedded-google-map/m-p/322327#M3237</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/21434"&gt;@mike-ward&lt;/a&gt;&amp;nbsp;So the map that was created shows overlays that were created to show future developments around the city. Does that mean that those will disappear as well?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2020 16:03:28 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/How-to-remove-certain-options-from-an-embedded-google-map/m-p/322327#M3237</guid>
      <dc:creator>ajpalmer</dc:creator>
      <dc:date>2020-02-27T16:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove certain options from an embedded google map?</title>
      <link>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/How-to-remove-certain-options-from-an-embedded-google-map/m-p/322332#M3238</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/121616"&gt;@ajpalmer&lt;/a&gt;&amp;nbsp;yep.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you look at the Static Maps code, they're actually embedded in the URL. See these bits:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;amp;markers=color:blue%7Clabel:F%7C40.702147,-74.015794&amp;amp;markers=color:green%7Clabel:G%7C40.711614,-74.012318
&amp;amp;markers=color:red%7Clabel:C%7C40.718217,-73.998284&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That's what is adding those markers.&lt;/P&gt;&lt;P&gt;Take that out -- no markers! E.g.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;https://maps.googleapis.com/maps/api/staticmap?center=Brooklyn+Bridge,New+York,NY&amp;amp;zoom=13&amp;amp;size=600x300&amp;amp;maptype=roadmap&amp;amp;key=YOUR_API_KEY&lt;/PRE&gt;&lt;P&gt;You can change the size as necessary (the one above will be 600x300 pixels) as well as the zoom number to change how zoomed in you want to be.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2020 16:16:15 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/How-to-remove-certain-options-from-an-embedded-google-map/m-p/322332#M3238</guid>
      <dc:creator>mike-ward</dc:creator>
      <dc:date>2020-02-27T16:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove certain options from an embedded google map?</title>
      <link>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/How-to-remove-certain-options-from-an-embedded-google-map/m-p/322360#M3240</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/21434"&gt;@mike-ward&lt;/a&gt;&amp;nbsp;Sorry if I'm not understanding, but what I'm getting is that the map placed into that API would lose all of its current overlays.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can I add those back in or would the new map be a single location with a zoom option only?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2020 16:55:00 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/How-to-remove-certain-options-from-an-embedded-google-map/m-p/322360#M3240</guid>
      <dc:creator>ajpalmer</dc:creator>
      <dc:date>2020-02-27T16:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove certain options from an embedded google map?</title>
      <link>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/How-to-remove-certain-options-from-an-embedded-google-map/m-p/322380#M3241</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/121616"&gt;@ajpalmer&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you clarify what you mean by an 'Overlay' here? Do you mean a marker on the map?&lt;/P&gt;&lt;P&gt;Or do you mean like zoom controls, the fullscreen button etc... that normally comes on Google Maps?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you're using the &lt;STRONG&gt;Static&lt;/STRONG&gt; Maps API, what will show on your site is&amp;nbsp;&lt;STRONG&gt;just an image&lt;/STRONG&gt;. It will not be interactive in any way and will therefore not have any of the controls. You can still include markers though, like in the example on the Google site.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you use the &lt;STRONG&gt;Javascript&lt;/STRONG&gt; API, it will be an interactive map - where users can scroll, pan, zoom etc... and you can control pretty much everything about how it is displayed, ie. which controls, the colours of the roads, which points of interest are included etc... And you can also add markers onto the map too to highlight what you need to.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry if I'm not understanding you too! If you could provide a screenshot of exactly what you're looking to achieve, or an example from another site, that would be useful &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2020 17:12:45 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/How-to-remove-certain-options-from-an-embedded-google-map/m-p/322380#M3241</guid>
      <dc:creator>mike-ward</dc:creator>
      <dc:date>2020-02-27T17:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove certain options from an embedded google map?</title>
      <link>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/How-to-remove-certain-options-from-an-embedded-google-map/m-p/322393#M3242</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/21434"&gt;@mike-ward&lt;/a&gt;&amp;nbsp;I think it would fall under markers? Here's a zoomed-in portion.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="help.jpg" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/24398iDA8EBF188069BA36/image-size/large?v=v2&amp;amp;px=999" role="button" title="help.jpg" alt="help.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's sounding like the Javascript option might just be what I need since I'll want to remove some functions but keep others.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2020 17:27:17 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/How-to-remove-certain-options-from-an-embedded-google-map/m-p/322393#M3242</guid>
      <dc:creator>ajpalmer</dc:creator>
      <dc:date>2020-02-27T17:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove certain options from an embedded google map?</title>
      <link>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/How-to-remove-certain-options-from-an-embedded-google-map/m-p/322687#M3254</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/121616"&gt;@ajpalmer&lt;/a&gt;&amp;nbsp;yep, I would recommend the Javascript API for flexibility. You can really drill into the setup options if needed to get exactly what you need!&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2020 12:02:49 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/How-to-remove-certain-options-from-an-embedded-google-map/m-p/322687#M3254</guid>
      <dc:creator>mike-ward</dc:creator>
      <dc:date>2020-02-28T12:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove certain options from an embedded google map?</title>
      <link>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/How-to-remove-certain-options-from-an-embedded-google-map/m-p/322737#M3255</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/21434"&gt;@mike-ward&lt;/a&gt;&amp;nbsp;That's what I'll go with then, thanks so much for answering all of my questions. I really appreciate it!&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2020 15:13:31 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/How-to-remove-certain-options-from-an-embedded-google-map/m-p/322737#M3255</guid>
      <dc:creator>ajpalmer</dc:creator>
      <dc:date>2020-02-28T15:13:31Z</dc:date>
    </item>
  </channel>
</rss>

