<?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 show a map with Rounded corners in Google Chrome? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-show-a-map-with-rounded-corners-in-google/m-p/81117#M7428</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try this&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;-webkit-border-radius: 6px;
-webkit-box-shadow: 8px 8px 16px #323834;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Dec 2021 23:06:20 GMT</pubDate>
    <dc:creator>VinayBansal</dc:creator>
    <dc:date>2021-12-10T23:06:20Z</dc:date>
    <item>
      <title>How to show a map with Rounded corners in Google Chrome?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-show-a-map-with-rounded-corners-in-google/m-p/81116#M7427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've been trying to style my JSAPI web application to have a map with rounded corners. I have been trying to do this with plain CSS, and am currently using the following code: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;#map{
 border: 6px solid blue;
&amp;nbsp;&amp;nbsp;&amp;nbsp; border-radius: 30px 30px 30px 30px;
&amp;nbsp;&amp;nbsp;&amp;nbsp; bottom: 0;
&amp;nbsp;&amp;nbsp;&amp;nbsp; display: block;
&amp;nbsp;&amp;nbsp;&amp;nbsp; height: auto;
&amp;nbsp;&amp;nbsp;&amp;nbsp; left: 0;
&amp;nbsp;&amp;nbsp;&amp;nbsp; margin: 45px 10px 10px;
&amp;nbsp;&amp;nbsp;&amp;nbsp; position: absolute;
&amp;nbsp;&amp;nbsp;&amp;nbsp; right: 0;
&amp;nbsp;&amp;nbsp;&amp;nbsp; top: 0;
&amp;nbsp;&amp;nbsp;&amp;nbsp; background-color:#eee;
}&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This works great in Firefox, but in Chrome, the tiles from the layers are not clipped by the rounded corners. This is a known defect with Chrome. I was wondering if someone has managed to find a work around for this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If nothing else works, I can always use images for the rounded corners, but I'll like a plain CSS solution if possible.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 May 2013 08:46:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-show-a-map-with-rounded-corners-in-google/m-p/81116#M7427</guid>
      <dc:creator>DevdattaTengshe1</dc:creator>
      <dc:date>2013-05-16T08:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to show a map with Rounded corners in Google Chrome?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-show-a-map-with-rounded-corners-in-google/m-p/81117#M7428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try this&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;-webkit-border-radius: 6px;
-webkit-box-shadow: 8px 8px 16px #323834;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 23:06:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-show-a-map-with-rounded-corners-in-google/m-p/81117#M7428</guid>
      <dc:creator>VinayBansal</dc:creator>
      <dc:date>2021-12-10T23:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to show a map with Rounded corners in Google Chrome?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-show-a-map-with-rounded-corners-in-google/m-p/81118#M7429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I used&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;-webkit-border-radius: 30px;&lt;/PRE&gt;&lt;SPAN&gt; because that is how&amp;nbsp; round I want my borders.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately that makes no noticeable difference.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 May 2013 10:16:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-show-a-map-with-rounded-corners-in-google/m-p/81118#M7429</guid>
      <dc:creator>DevdattaTengshe1</dc:creator>
      <dc:date>2013-05-16T10:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to show a map with Rounded corners in Google Chrome?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-show-a-map-with-rounded-corners-in-google/m-p/81119#M7430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Try this&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;-webkit-border-radius: 6px;
-webkit-box-shadow: 8px 8px 16px #323834;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Which version of google chrome are you using. Since i am getting rounded corners with these 2 css.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My google chrome version is Version 26.0.1410.64 m&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 23:06:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-show-a-map-with-rounded-corners-in-google/m-p/81119#M7430</guid>
      <dc:creator>VinayBansal</dc:creator>
      <dc:date>2021-12-10T23:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to show a map with Rounded corners in Google Chrome?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-show-a-map-with-rounded-corners-in-google/m-p/81120#M7431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Which version of google chrome are you using. Since i am getting rounded corners with these 2 css.&lt;BR /&gt;My google chrome version is Version 26.0.1410.64 m&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using the same version of Google Chrome.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You are not noticing the problem, because the radius is too small to make it noticeable. But it is still observable, when you look at it in detail.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See the corner of the map in Google Chrome with 6 pixel. You will see that the boundary has a rounded corner, while the map itself (by that I mean the tiles/images ect) do not have a rounded corner:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]24411[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now compare this to the behavior in Mozilla Firefox, when border-radius is set to the same value. Here the map itself(image/tile), as well as the boundary, both have rounded corners:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]24412[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To clearly see the issue, change the border radius to 30 px, using the following:&lt;/SPAN&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt; -webkit-border-radius: 30px;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;You will see the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]24413[/ATTACH]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 07:17:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-show-a-map-with-rounded-corners-in-google/m-p/81120#M7431</guid>
      <dc:creator>DevdattaTengshe1</dc:creator>
      <dc:date>2013-05-17T07:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to show a map with Rounded corners in Google Chrome?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-show-a-map-with-rounded-corners-in-google/m-p/81121#M7432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am&amp;nbsp; getting this when I am setting border-radius 30px&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Try removing position:absolute from map style.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 07:58:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-show-a-map-with-rounded-corners-in-google/m-p/81121#M7432</guid>
      <dc:creator>VinayBansal</dc:creator>
      <dc:date>2013-05-17T07:58:03Z</dc:date>
    </item>
  </channel>
</rss>

