{"id":2716872,"date":"2025-03-06T06:43:53","date_gmt":"2025-03-06T14:43:53","guid":{"rendered":"https:\/\/www.esri.com\/arcgis-blog\/?post_type=blog&#038;p=2716872"},"modified":"2025-03-06T11:09:43","modified_gmt":"2025-03-06T19:09:43","slug":"how-to-use-a-basemap-with-a-specific-world-view-in-your-web-app","status":"publish","type":"blog","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/js-api-arcgis\/developers\/how-to-use-a-basemap-with-a-specific-world-view-in-your-web-app","title":{"rendered":"How to use United States vector basemaps in your web app"},"author":4271,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"_acf_changed":false,"_searchwp_excluded":""},"categories":[738191],"tags":[42301,769562,42641,33981,762062],"industry":[],"product":[36831,36601],"class_list":["post-2716872","blog","type-blog","status-publish","format-standard","hentry","category-developers","tag-arcgis-enterprise","tag-arcgis-maps-sdk-for-javascript","tag-arcgis-online","tag-united-states","tag-vector-basemap","product-js-api-arcgis","product-developers"],"acf":{"short_description":"Use basemaps that have a specific world view (such as a US world view) in your apps - whether you have a new app or are updating an existing one.","flexible_content":[{"acf_fc_layout":"content","content":"<p>Esri recently published a new set of custom basemaps for the United States. These basemaps include updated place names recently defined by the U.S. Government, as well as updated treatments of several disputed boundaries and places previously defined by the U.S. State Department. If you are interested in learning about how to update your organizational settings and content in <a href=\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/announcements\/esri-vector-basemaps-for-united-states\/\">ArcGIS Online<\/a> or <a href=\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-enterprise\/announcements\/esri-vector-basemaps-for-united-states-and-arcgis-enterprise\/\">ArcGIS Enterprise<\/a> to use Esri&#8217;s United States vector basemaps, review <a href=\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/announcements\/esri-vector-basemaps-for-united-states\/\">Esri Vector Basemaps for United States<\/a>. This blog walks through the code required to use these basemaps in new or existing apps built with ArcGIS Maps SDK for JavaScript or one of Esri&#8217;s supported open source mapping libraries.<\/p>\n<h2>Using the US vector basemaps with ArcGIS Maps SDK for JavaScript<\/h2>\n<p>The SDK provides a number of ways in which you can use a particular basemap in our app:<\/p>\n<p><strong>Configure the basemap you want in the web map or web scene.<\/strong> If you follow the guidance in the <a href=\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/announcements\/esri-vector-basemaps-for-united-states\/\">Esri Vector Basemaps for United States blog<\/a> for using a basemap with the US world view, you can simply reference this webmap in your code. If you are updating an existing webmap that was already used in your app, no code changes are required (this is the beauty of building apps with web maps\/web scenes!).<\/p>\n<p><strong>Set the basemap directly in code.<\/strong> There are essentially two options for accomplishing this:<\/p>\n<ol>\n<li><strong>Use the <a href=\"https:\/\/developers.arcgis.com\/rest\/basemap-styles\/\">basemap styles service<\/a><\/strong>. The ArcGIS Basemap Styles service is a location service that serves vector and image tiles for the world. It can display localized language place labels, places, and worldviews. It also supports accessing custom\u00a0basemap styles. Worldviews can be set using the\u00a0<a href=\"https:\/\/developers.arcgis.com\/javascript\/latest\/api-reference\/esri-support-BasemapStyle.html\">BasemapStyle<\/a>\u00a0class, which defines the style of the basemap from the <a href=\"https:\/\/developers.arcgis.com\/rest\/basemap-styles\/\">basemap style service (v2)<\/a>. Using this service requires that your end users authenticate with their ArcGIS account, or you use an API key in your app. See the <a href=\"https:\/\/developers.arcgis.com\/documentation\/security-and-authentication\/\">Security and authentication<\/a> guide to learn about implementation details.<\/li>\n<\/ol>\n"},{"acf_fc_layout":"content","content":"<pre><code><span style=\"color: #6a737d;\">\/\/ Display the Community basemap with the United States worldview<\/span>\r\n<span style=\"color: #d73a49;\">const<\/span> basemap = <span style=\"color: #d73a49;\">new<\/span> <span style=\"color: #6f42c1;\">Basemap<\/span>({\r\n  <span style=\"color: #005cc5;\">style<\/span>: <span style=\"color: #d73a49;\">new<\/span> <span style=\"color: #6f42c1;\">BasemapStyle<\/span>({\r\n    <span style=\"color: #005cc5;\">id<\/span>: <span style=\"color: #032f62;\">\"arcgis\/community\"<\/span>,\r\n    <span style=\"color: #005cc5;\">worldview<\/span>: <span style=\"color: #032f62;\">\"unitedStatesOfAmerica\"<\/span>\r\n  })\r\n});\r\n<\/code><\/pre>\n"},{"acf_fc_layout":"content","content":"<p>Here is a <a href=\"https:\/\/developers.arcgis.com\/javascript\/latest\/sample-code\/basemap-worldview\/\">sample app<\/a> showing how you can set the worldview parameter to get the basemap with a particular worldview.<\/p>\n"},{"acf_fc_layout":"image","image":{"ID":2717412,"id":2717412,"title":"Basemap worldviews","filename":"Screenshot-2025-03-05-at-9.40.07\u202fAM.png","filesize":398154,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/03\/Screenshot-2025-03-05-at-9.40.07\u202fAM.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/js-api-arcgis\/developers\/how-to-use-a-basemap-with-a-specific-world-view-in-your-web-app\/screenshot-2025-03-05-at-9-40-07-am","alt":"","author":"10062","description":"","caption":"","name":"screenshot-2025-03-05-at-9-40-07-am","status":"inherit","uploaded_to":2716872,"date":"2025-03-05 18:40:48","modified":"2025-03-05 18:40:59","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":1276,"height":599,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/03\/Screenshot-2025-03-05-at-9.40.07\u202fAM-213x200.png","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/03\/Screenshot-2025-03-05-at-9.40.07\u202fAM.png","medium-width":464,"medium-height":218,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/03\/Screenshot-2025-03-05-at-9.40.07\u202fAM.png","medium_large-width":768,"medium_large-height":361,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/03\/Screenshot-2025-03-05-at-9.40.07\u202fAM.png","large-width":1276,"large-height":599,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/03\/Screenshot-2025-03-05-at-9.40.07\u202fAM.png","1536x1536-width":1276,"1536x1536-height":599,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/03\/Screenshot-2025-03-05-at-9.40.07\u202fAM.png","2048x2048-width":1276,"2048x2048-height":599,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/03\/Screenshot-2025-03-05-at-9.40.07\u202fAM-826x388.png","card_image-width":826,"card_image-height":388,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/03\/Screenshot-2025-03-05-at-9.40.07\u202fAM.png","wide_image-width":1276,"wide_image-height":599}},"image_position":"center","orientation":"horizontal","hyperlink":"https:\/\/developers.arcgis.com\/javascript\/latest\/sample-code\/basemap-worldview\/"},{"acf_fc_layout":"content","content":"<p><strong>Note:<\/strong> The <a href=\"https:\/\/developers.arcgis.com\/javascript\/latest\/api-reference\/esri-support-BasemapStyle.html#worldview\"><code>worldview<\/code><\/a> property on the <a href=\"https:\/\/developers.arcgis.com\/javascript\/latest\/api-reference\/esri-support-BasemapStyle.html\">BasemapStyle<\/a> class was added to the SDK at version 4.29. If you are using an earlier version of the SDK, you can still access the <a href=\"https:\/\/developers.arcgis.com\/rest\/basemap-styles\/\">basemap styles service<\/a> in two ways:<\/p>\n<p>(a) VectorTileLayer with custom parameters:\u00a0You can access the <a href=\"https:\/\/developers.arcgis.com\/rest\/basemap-styles\/\">basemap styles service<\/a> directly from the vector tile style URL, using the <a href=\"https:\/\/developers.arcgis.com\/javascript\/latest\/api-reference\/esri-layers-VectorTileLayer.html#customParameters\"><code>customParameters<\/code><\/a> to set the <a href=\"https:\/\/developers.arcgis.com\/rest\/basemap-styles\/worldview\/#worldview\"><code>worldview<\/code><\/a> parameter.\u00a0<em>Available since version 4.22.<\/em><\/p>\n<pre><code><span style=\"color: #6a737d;\">\/\/ create a VectorTileLayer from a style URL<\/span>\r\n<span style=\"color: #d73a49;\">const<\/span> mapBaseLayer = <span style=\"color: #d73a49;\">new<\/span> <span style=\"color: #6f42c1;\">VectorTileLayer<\/span>({\r\n  <span style=\"color: #005cc5;\">url<\/span>: <span style=\"color: #032f62;\">\"https:\/\/basemapstyles-api.arcgis.com\/arcgis\/rest\/services\/styles\/v2\/styles\/arcgis\/topographic\"<\/span>,\r\n  <span style=\"color: #6a737d;\">\/\/ set the worldview as a custom parameter<\/span>\r\n  <span style=\"color: #005cc5;\">customParameters<\/span>: {\r\n    <span style=\"color: #005cc5;\">worldview<\/span>: <span style=\"color: #032f62;\">\"unitedStatesOfAmerica\"<\/span>\r\n  },\r\n});\r\n\r\n<span style=\"color: #d73a49;\">const<\/span> basemap = <span style=\"color: #d73a49;\">new<\/span> <span style=\"color: #6f42c1;\">Basemap<\/span>({\r\n  <span style=\"color: #6a737d;\">\/\/ set the VTL as the basemap layer<\/span>\r\n  <span style=\"color: #005cc5;\">baseLayers<\/span>: [mapBaseLayer]\r\n});\r\n<\/code><\/pre>\n<p>(b) Request interceptors. In the <a href=\"https:\/\/developers.arcgis.com\/javascript\/latest\/api-reference\/esri-config.html\">esriConfig<\/a> class, set <a href=\"https:\/\/developers.arcgis.com\/javascript\/latest\/api-reference\/esri-config.html#request\"><code>request.interceptors<\/code><\/a> to modify requests before or after they are sent. This allows you to append the worldview parameter whenever a request is made to the basemap styles service. <em>Available since version 4.8.<\/em><\/p>\n"},{"acf_fc_layout":"content","content":"<p>2. <strong>Use the <a href=\"https:\/\/developers.arcgis.com\/javascript\/latest\/api-reference\/esri-Basemap.html\">Basemap<\/a> class to reference a US style<\/strong> directly from a WebMap or VectorTileLayer. Basemaps can be created from a WebMap portal item ID:<\/p>\n"},{"acf_fc_layout":"content","content":"<pre><code><span style=\"color: #6a737d;\">\/\/ Create a basemap from a WebMap portal item ID<\/span>\r\n<span style=\"color: #d73a49;\">const<\/span> basemap = <span style=\"color: #d73a49;\">new<\/span> <span style=\"color: #6f42c1;\">Basemap<\/span>({\r\n  <span style=\"color: #005cc5;\">portalItem<\/span>: {\r\n    <span style=\"color: #005cc5;\">id<\/span>: <span style=\"color: #032f62;\">\"<span data-teams=\"true\">668f436dc2dc4f2c83ceb0c064380590<\/span>\"<\/span> <span style=\"color: #6a737d;\">\/\/ Topo (US worldview)<\/span>\r\n  }\r\n});\r\n<\/code><\/pre>\n"},{"acf_fc_layout":"content","content":"<p>Or set the Basemap&#8217;s <code>baseLayers<\/code> from a VectorTileLayer style URL or portalItem:<\/p>\n"},{"acf_fc_layout":"content","content":"<pre><code><span style=\"color: #6a737d;\">\/\/ create a VectorTileLayer from a style URL or portal item<\/span>\r\n<span style=\"color: #d73a49;\">const<\/span> mapBaseLayer = <span style=\"color: #d73a49;\">new<\/span> <span style=\"color: #6f42c1;\">VectorTileLayer<\/span>({\r\n  <span style=\"color: #6a737d;\">\/\/ Topographic style with US worldview<\/span>\r\n  <span style=\"color: #005cc5;\">url<\/span>: <span style=\"color: #032f62;\">\"https:\/\/www.arcgis.com\/sharing\/rest\/content\/items\/27e89eb03c1e4341a1d75e597f0291e6\/resources\/styles\/root.json\"<\/span>\r\n});\r\n\r\n<span style=\"color: #d73a49;\">const<\/span> basemap = <span style=\"color: #d73a49;\">new<\/span> <span style=\"color: #6f42c1;\">Basemap<\/span>({\r\n  <span style=\"color: #6a737d;\">\/\/ set the VTL as the basemap layer<\/span>\r\n  <span style=\"color: #005cc5;\">baseLayers<\/span>: [mapBaseLayer]\r\n});\r\n<\/code><\/pre>\n"},{"acf_fc_layout":"content","content":"<h3>Basemap Gallery and Basemap Toggle components<\/h3>\n<p>If your app uses the <a href=\"https:\/\/developers.arcgis.com\/javascript\/latest\/references\/map-components\/arcgis-basemap-gallery\/\">Basemap Gallery<\/a> or <a href=\"https:\/\/developers.arcgis.com\/javascript\/latest\/references\/map-components\/arcgis-basemap-toggle\/\">Basemap Toggle<\/a> components (or widgets), validate that they are using the US vector basemaps.<\/p>\n<p><strong>Basemap Gallery:<\/strong> If your app uses ArcGIS logins or a global API key, the gallery is configured automatically using your portal settings:<\/p>\n<ul>\n<li>Region: If the region is set to United States and the basemap gallery setting is &#8220;Esri default,&#8221; no action is needed<\/li>\n<li>Basemap gallery: if you have already configured your gallery to use US basemaps, no action is needed<\/li>\n<\/ul>\n<p>If your app has anonymous end users (no ArcGIS login), by default, the basemap gallery is based on the \u201cworld\u201d worldview. You must update the basemap gallery\u2019s source property with the US basemaps that you want to use. This can be done by setting the source to use the United States Vector Basemaps group (like the code below), or by setting the source property to a list of hand-selected US basemaps that you want to use.<\/p>\n<pre><code><span style=\"color: #6a737d;\">\/\/ get the basemap gallery element<\/span>\r\n<span style=\"color: #d73a49;\">const<\/span> basemapGallery = <span style=\"color: #d73a49;\">document<\/span>.<span style=\"color: #6f42c1;\">querySelector<\/span>(<span style=\"color: #032f62;\">\"arcgis-basemap-gallery\"<\/span>);\r\n<span style=\"color: #6a737d;\">\/\/ change the default source<\/span>\r\nbasemapGallery.source =  <span style=\"color: #d73a49;\">new<\/span> <span style=\"color: #6f42c1;\">PortalBasemapsSource<\/span>({\r\n  <span style=\"color: #005cc5;\">query<\/span>: {\r\n    <span style=\"color: #6a737d;\">\/\/ United States Vector Basemaps group<\/span>\r\n    <span style=\"color: #005cc5;\">id<\/span>: <span style=\"color: #032f62;\">\"68efc5ce1e0b43cb819f7bba4a6bd7ea\"<\/span>\r\n  }\r\n});\r\n<\/code><\/pre>\n<p><strong>Basemap Toggle:<\/strong> This component works by toggling between an \u201cactive basemap\u201d and the \u201cnext basemap.\u201d Both properties are of type <code>Basemap<\/code> so you can define the Basemap in one of the ways described above.<\/p>\n<h2>Using the US vector basemaps with Esri Leaflet<\/h2>\n<p>Use the basemap styles service, specify the style you want, and set the worldview parameter of Esri Leaflet Vector to change the political worldview of the basemap layer.<\/p>\n<p>See the <a href=\"https:\/\/developers.arcgis.com\/esri-leaflet\/samples\/change-the-worldview\/\">Change the basemap worldview<\/a> sample.<\/p>\n<h2>Using the US vector basemaps with MapLibre<\/h2>\n<p>Use the basemap styles service, specify the style you want, and set the worldview parameter to \u201cunitedStatesOfAmerica\u201d.<\/p>\n<p>See the <a href=\"https:\/\/developers.arcgis.com\/maplibre-gl-js\/maps\/change-the-basemap-style\/\">Change the basemap style<\/a> sample to see how the service is used and style options are applied. Note that in addition to the code in this sample, you must also set the worldview parameter.<\/p>\n<h2>Using the US vector basemaps with OpenLayers<\/h2>\n<p>Use the basemap styles service, specify the style you want, and set the worldview parameter to \u201cunitedStatesOfAmerica\u201d.<\/p>\n<p>See the <a href=\"https:\/\/developers.arcgis.com\/openlayers\/maps\/change-the-basemap-style\/\">Change the basemap style<\/a> sample to see how the service is used and style options are applied. Note that in addition to the code in this sample, you must also set the worldview parameter.<\/p>\n<h2>Using the US vector basemaps with Cesium<\/h2>\n<p><span data-teams=\"true\">Cesium doesn\u2019t support vector tile layers so the recommended option is to use Esri\u2019s static basemap tiles service, which provides raster tiles<\/span>. At the time of writing, the worldview parameter is not yet available with this service offering, but is planned for April 2025. You can update your code (today) to reference the &#8220;unitedStatesOfAmerica&#8221; worldview and once the service accepts this parameter, the basemap will show the US worldview.<\/p>\n<p>See the <a href=\"https:\/\/developers.arcgis.com\/cesiumjs\/scenes\/#how-to-access-the-static-basemap-tiles-service\">How to add ArcGIS base layers<\/a> sample for how to use static basemap tiles.<\/p>\n<h2>Using the US vector basemaps in configurable apps and builders<\/h2>\n<p><strong>ArcGIS Experience Builder: <\/strong>Apps built with Experience Builder usually require minimal updates since they reference web maps and web scenes which can be updated to use the <a href=\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/announcements\/esri-vector-basemaps-for-united-states\/\">Esri Vector Basemaps for United States<\/a>. Experience Builder will read the basemap gallery setting in your Online or Enterprise organization to populate the Basemap Gallery widget, so if you have set that up to use the US basemaps, no further action is needed. You can also configure custom basemaps in Experience Builder, so if you have done that you should make sure that the basemaps you\u2019ve selected are using the US worldview.<\/p>\n<p><strong>ArcGIS Instant Apps: <\/strong>Apps built with Instant Apps usually require minimal updates since they reference web maps and web scenes which can be updated to use the <a href=\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/announcements\/esri-vector-basemaps-for-united-states\/\">Esri Vector Basemaps for United States<\/a>. However, some Instant Apps have Basemap Gallery, Locator Map, and\/or Basemap Toggle tools available in the configuration options. If your app has one or all of those tools, you should verify that they are referencing the US basemaps. To update the app to use the US basemap, go back into the Instant App configuration experience and select the appropriate basemap. For convenience, you can use the <a href=\"https:\/\/esri.maps.arcgis.com\/home\/item.html?id=989e23f62e1a40b081602860ae75982c\">Esri Vector Basemaps for United States Item ID Chart PDF<\/a>\u00a0to find the item ID of the basemap you want to use, and search for it in the basemap picker configuration UI.<\/p>\n<p>Please refer to this <a href=\"https:\/\/doc.arcgis.com\/en\/instant-apps\/latest\/get-started\/pdf\/arcgis-instant-apps-matrix.pdf\" aria-label=\"Link Template Capabilities Matrix\">Instant App Capabilities Matrix<\/a> to help you identify which Instant Apps might need to be updated.<\/p>\n<h2>Conclusion<\/h2>\n<p>As described above, there are multiple approaches for using vector basemaps for United States in your app. For additional information on using Esri&#8217;s vector tile basemaps in your application, see <a href=\"https:\/\/developers.arcgis.com\/documentation\/mapping-and-location-services\/mapping\/basemap-layers\/\">Esri Developer<\/a>, and <a href=\"https:\/\/developers.arcgis.com\/javascript\/latest\/\">ArcGIS Maps SDK for JavaScript<\/a> documentation.<\/p>\n"}],"authors":[{"ID":4271,"user_firstname":"Julie","user_lastname":"Powell","nickname":"Julie Powell","user_nicename":"julie-powell","display_name":"Julie Powell","user_email":"julie_powell@esri.com","user_url":"","user_registered":"2018-03-02 00:15:51","user_description":"Julie Powell is Principal Product Manager for Esri's web development technologies. She works to ensure developers can be successful in building state of the art, purposeful solutions using ArcGIS software. \r\nJulie brings 20 years of experience working with global leaders such as Hewlett-Packard and Esri, delivering a variety of software solutions for both the enterprise and consumer markets.","user_avatar":"<img data-del=\"avatar\" src='https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2022\/03\/PhotoRoom-20220321_101413-3-213x200.png' class='avatar pp-user-avatar avatar-96 photo ' height='96' width='96'\/>"},{"ID":10062,"user_firstname":"Anne","user_lastname":"Fitz","nickname":"Anne Fitz","user_nicename":"afitz","display_name":"Anne Fitz","user_email":"afitz@esri.com","user_url":"","user_registered":"2019-10-15 00:07:57","user_description":"Anne Fitz is a Senior Product Engineer at Esri, working on the ArcGIS Maps SDK for JavaScript and ArcGIS Arcade. Her expertise primarily focuses on dynamic vector symbology (CIM symbols), data visualization, animation, ArcGIS Arcade integration, and widgets.  Anne\u2019s primary goal is to help developers succeed in building geospatial applications, providing them with the tools and knowledge they need to bring their ideas to life. She has been with Esri for over five years.","user_avatar":"<img data-del=\"avatar\" src='https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/03\/2B6A1033-465x465.jpg' class='avatar pp-user-avatar avatar-96 photo ' height='96' width='96'\/>"}],"show_article_image":false,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/03\/basemap-card.png","wide_image":false,"related_articles":[{"ID":2691422,"post_author":"6281","post_date":"2025-02-19 21:42:15","post_date_gmt":"2025-02-20 05:42:15","post_content":"","post_title":"Esri Vector Basemaps for United States","post_excerpt":"","post_status":"publish","comment_status":"closed","ping_status":"closed","post_password":"","post_name":"esri-vector-basemaps-for-united-states","to_ping":"","pinged":"","post_modified":"2025-03-18 07:47:46","post_modified_gmt":"2025-03-18 14:47:46","post_content_filtered":"","post_parent":0,"guid":"https:\/\/www.esri.com\/arcgis-blog\/?post_type=blog&#038;p=2691422","menu_order":0,"post_type":"blog","post_mime_type":"","comment_count":"0","filter":"raw"},{"ID":2696482,"post_author":"10222","post_date":"2025-02-21 14:09:49","post_date_gmt":"2025-02-21 22:09:49","post_content":"","post_title":"Esri Vector Basemaps for United States and ArcGIS Enterprise","post_excerpt":"","post_status":"publish","comment_status":"closed","ping_status":"closed","post_password":"","post_name":"esri-vector-basemaps-for-united-states-and-arcgis-enterprise","to_ping":"","pinged":"","post_modified":"2025-02-26 08:02:31","post_modified_gmt":"2025-02-26 16:02:31","post_content_filtered":"","post_parent":0,"guid":"https:\/\/www.esri.com\/arcgis-blog\/?post_type=blog&#038;p=2696482","menu_order":0,"post_type":"blog","post_mime_type":"","comment_count":"0","filter":"raw"}]},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v25.9 (Yoast SEO v25.9) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to use United States vector basemaps in your web app<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.esri.com\/arcgis-blog\/products\/js-api-arcgis\/developers\/how-to-use-a-basemap-with-a-specific-world-view-in-your-web-app\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to use United States vector basemaps in your web app\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.esri.com\/arcgis-blog\/products\/js-api-arcgis\/developers\/how-to-use-a-basemap-with-a-specific-world-view-in-your-web-app\" \/>\n<meta property=\"og:site_name\" content=\"ArcGIS Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/esrigis\/\" \/>\n<meta property=\"article:modified_time\" content=\"2025-03-06T19:09:43+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@ESRI\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":[\"Article\",\"BlogPosting\"],\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/js-api-arcgis\/developers\/how-to-use-a-basemap-with-a-specific-world-view-in-your-web-app#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/js-api-arcgis\/developers\/how-to-use-a-basemap-with-a-specific-world-view-in-your-web-app\"},\"author\":{\"name\":\"Julie Powell\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/3ef71df36f6aacca26eb2c7f65f15e88\"},\"headline\":\"How to use United States vector basemaps in your web app\",\"datePublished\":\"2025-03-06T14:43:53+00:00\",\"dateModified\":\"2025-03-06T19:09:43+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/js-api-arcgis\/developers\/how-to-use-a-basemap-with-a-specific-world-view-in-your-web-app\"},\"wordCount\":11,\"publisher\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#organization\"},\"keywords\":[\"ArcGIS Enterprise\",\"ArcGIS Maps SDK for JavaScript\",\"ArcGIS Online\",\"United States\",\"Vector Basemap\"],\"articleSection\":[\"Developers\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/js-api-arcgis\/developers\/how-to-use-a-basemap-with-a-specific-world-view-in-your-web-app\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/js-api-arcgis\/developers\/how-to-use-a-basemap-with-a-specific-world-view-in-your-web-app\",\"name\":\"How to use United States vector basemaps in your web app\",\"isPartOf\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#website\"},\"datePublished\":\"2025-03-06T14:43:53+00:00\",\"dateModified\":\"2025-03-06T19:09:43+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/js-api-arcgis\/developers\/how-to-use-a-basemap-with-a-specific-world-view-in-your-web-app#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.esri.com\/arcgis-blog\/products\/js-api-arcgis\/developers\/how-to-use-a-basemap-with-a-specific-world-view-in-your-web-app\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/js-api-arcgis\/developers\/how-to-use-a-basemap-with-a-specific-world-view-in-your-web-app#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.esri.com\/arcgis-blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to use United States vector basemaps in your web app\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#website\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/\",\"name\":\"ArcGIS Blog\",\"description\":\"Get insider info from Esri product teams\",\"publisher\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.esri.com\/arcgis-blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#organization\",\"name\":\"Esri\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/04\/Esri.png\",\"contentUrl\":\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/04\/Esri.png\",\"width\":400,\"height\":400,\"caption\":\"Esri\"},\"image\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/esrigis\/\",\"https:\/\/x.com\/ESRI\",\"https:\/\/www.linkedin.com\/company\/5311\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/3ef71df36f6aacca26eb2c7f65f15e88\",\"name\":\"Julie Powell\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2022\/03\/PhotoRoom-20220321_101413-3-213x200.png\",\"contentUrl\":\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2022\/03\/PhotoRoom-20220321_101413-3-213x200.png\",\"caption\":\"Julie Powell\"},\"description\":\"Julie Powell is Principal Product Manager for Esri's web development technologies. She works to ensure developers can be successful in building state of the art, purposeful solutions using ArcGIS software. Julie brings 20 years of experience working with global leaders such as Hewlett-Packard and Esri, delivering a variety of software solutions for both the enterprise and consumer markets.\",\"sameAs\":[\"https:\/\/x.com\/JuliePowellGIS\"],\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/author\/julie-powell\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to use United States vector basemaps in your web app","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.esri.com\/arcgis-blog\/products\/js-api-arcgis\/developers\/how-to-use-a-basemap-with-a-specific-world-view-in-your-web-app","og_locale":"en_US","og_type":"article","og_title":"How to use United States vector basemaps in your web app","og_url":"https:\/\/www.esri.com\/arcgis-blog\/products\/js-api-arcgis\/developers\/how-to-use-a-basemap-with-a-specific-world-view-in-your-web-app","og_site_name":"ArcGIS Blog","article_publisher":"https:\/\/www.facebook.com\/esrigis\/","article_modified_time":"2025-03-06T19:09:43+00:00","twitter_card":"summary_large_image","twitter_site":"@ESRI","twitter_misc":{"Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":["Article","BlogPosting"],"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/js-api-arcgis\/developers\/how-to-use-a-basemap-with-a-specific-world-view-in-your-web-app#article","isPartOf":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/js-api-arcgis\/developers\/how-to-use-a-basemap-with-a-specific-world-view-in-your-web-app"},"author":{"name":"Julie Powell","@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/3ef71df36f6aacca26eb2c7f65f15e88"},"headline":"How to use United States vector basemaps in your web app","datePublished":"2025-03-06T14:43:53+00:00","dateModified":"2025-03-06T19:09:43+00:00","mainEntityOfPage":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/js-api-arcgis\/developers\/how-to-use-a-basemap-with-a-specific-world-view-in-your-web-app"},"wordCount":11,"publisher":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#organization"},"keywords":["ArcGIS Enterprise","ArcGIS Maps SDK for JavaScript","ArcGIS Online","United States","Vector Basemap"],"articleSection":["Developers"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/js-api-arcgis\/developers\/how-to-use-a-basemap-with-a-specific-world-view-in-your-web-app","url":"https:\/\/www.esri.com\/arcgis-blog\/products\/js-api-arcgis\/developers\/how-to-use-a-basemap-with-a-specific-world-view-in-your-web-app","name":"How to use United States vector basemaps in your web app","isPartOf":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#website"},"datePublished":"2025-03-06T14:43:53+00:00","dateModified":"2025-03-06T19:09:43+00:00","breadcrumb":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/js-api-arcgis\/developers\/how-to-use-a-basemap-with-a-specific-world-view-in-your-web-app#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.esri.com\/arcgis-blog\/products\/js-api-arcgis\/developers\/how-to-use-a-basemap-with-a-specific-world-view-in-your-web-app"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/js-api-arcgis\/developers\/how-to-use-a-basemap-with-a-specific-world-view-in-your-web-app#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.esri.com\/arcgis-blog\/"},{"@type":"ListItem","position":2,"name":"How to use United States vector basemaps in your web app"}]},{"@type":"WebSite","@id":"https:\/\/www.esri.com\/arcgis-blog\/#website","url":"https:\/\/www.esri.com\/arcgis-blog\/","name":"ArcGIS Blog","description":"Get insider info from Esri product teams","publisher":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.esri.com\/arcgis-blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.esri.com\/arcgis-blog\/#organization","name":"Esri","url":"https:\/\/www.esri.com\/arcgis-blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/04\/Esri.png","contentUrl":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/04\/Esri.png","width":400,"height":400,"caption":"Esri"},"image":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/esrigis\/","https:\/\/x.com\/ESRI","https:\/\/www.linkedin.com\/company\/5311\/"]},{"@type":"Person","@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/3ef71df36f6aacca26eb2c7f65f15e88","name":"Julie Powell","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/image\/","url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2022\/03\/PhotoRoom-20220321_101413-3-213x200.png","contentUrl":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2022\/03\/PhotoRoom-20220321_101413-3-213x200.png","caption":"Julie Powell"},"description":"Julie Powell is Principal Product Manager for Esri's web development technologies. She works to ensure developers can be successful in building state of the art, purposeful solutions using ArcGIS software. Julie brings 20 years of experience working with global leaders such as Hewlett-Packard and Esri, delivering a variety of software solutions for both the enterprise and consumer markets.","sameAs":["https:\/\/x.com\/JuliePowellGIS"],"url":"https:\/\/www.esri.com\/arcgis-blog\/author\/julie-powell"}]}},"text_date":"March 6, 2025","author_name":"Multiple Authors","author_page":"https:\/\/www.esri.com\/arcgis-blog\/products\/js-api-arcgis\/developers\/how-to-use-a-basemap-with-a-specific-world-view-in-your-web-app","custom_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/08\/Newsroom-Keyart-Wide-1920-x-1080.jpg","primary_product":"ArcGIS Maps SDK for JavaScript","tag_data":[{"term_id":42301,"name":"ArcGIS Enterprise","slug":"arcgis-enterprise","term_group":0,"term_taxonomy_id":42301,"taxonomy":"post_tag","description":"","parent":0,"count":210,"filter":"raw"},{"term_id":769562,"name":"ArcGIS Maps SDK for JavaScript","slug":"arcgis-maps-sdk-for-javascript","term_group":0,"term_taxonomy_id":769562,"taxonomy":"post_tag","description":"","parent":0,"count":28,"filter":"raw"},{"term_id":42641,"name":"ArcGIS Online","slug":"arcgis-online","term_group":0,"term_taxonomy_id":42641,"taxonomy":"post_tag","description":"","parent":0,"count":420,"filter":"raw"},{"term_id":33981,"name":"United States","slug":"united-states","term_group":0,"term_taxonomy_id":33981,"taxonomy":"post_tag","description":"","parent":0,"count":6,"filter":"raw"},{"term_id":762062,"name":"Vector Basemap","slug":"vector-basemap","term_group":0,"term_taxonomy_id":762062,"taxonomy":"post_tag","description":"","parent":0,"count":3,"filter":"raw"}],"category_data":[{"term_id":738191,"name":"Developers","slug":"developers","term_group":0,"term_taxonomy_id":738191,"taxonomy":"category","description":"","parent":0,"count":426,"filter":"raw"}],"product_data":[{"term_id":36831,"name":"ArcGIS Maps SDK for JavaScript","slug":"js-api-arcgis","term_group":0,"term_taxonomy_id":36831,"taxonomy":"product","description":"","parent":36601,"count":363,"filter":"raw"},{"term_id":36601,"name":"Developers","slug":"developers","term_group":0,"term_taxonomy_id":36601,"taxonomy":"product","description":"","parent":0,"count":765,"filter":"raw"}],"primary_product_link":"https:\/\/www.esri.com\/arcgis-blog\/?s=#&products=js-api-arcgis","_links":{"self":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/blog\/2716872","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/blog"}],"about":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/types\/blog"}],"author":[{"embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/users\/4271"}],"replies":[{"embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/comments?post=2716872"}],"version-history":[{"count":0,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/blog\/2716872\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/media?parent=2716872"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/categories?post=2716872"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/tags?post=2716872"},{"taxonomy":"industry","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/industry?post=2716872"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/product?post=2716872"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}