Lorsque vous utilisez une carte vectorielle dans Android, iOS ou JavaScript, les bâtiments utilisent le style 3D avec un niveau de zoom 17 et plus par défaut. Si vous ne souhaitez afficher que les contours en 2D des bâtiments pour obtenir un rendu plus net, sélectionnez le style Empreintes.
Définir le style du bâtiment
Zoomez suffisamment sur la carte pour voir les bâtiments s'afficher.
Dans le volet "Éléments cartographiques", sélectionnez l'icône en forme de roue dentée pour ouvrir le volet Paramètres.
Pour afficher les bâtiments avec un contour en 3D, sélectionnez 3D :
Pour afficher les bâtiments avec une empreinte en 2D, sélectionnez Empreintes :
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/08/31 (UTC).
[null,null,["Dernière mise à jour le 2025/08/31 (UTC)."],[[["\u003cp\u003eCloud-based maps styling requires the latest renderer for the Maps SDK for Android and is supported across Android, iOS, Maps JavaScript API, and Maps Static.\u003c/p\u003e\n"],["\u003cp\u003eBuildings on vector maps automatically display in 3D at zoom level 17 and higher, but can be customized to a 2D "Footprints" style.\u003c/p\u003e\n"],["\u003cp\u003eUsers can adjust fill and stroke colors for "Footprints" style buildings, while 3D buildings only support fill color customization.\u003c/p\u003e\n"],["\u003cp\u003eThe building style can be changed in the Style Editor under the "Buildings" feature type within "Landscape, Human-made".\u003c/p\u003e\n"]]],[],null,["# Change the style of buildings\n\nSelect platform: [Android](/maps/documentation/android-sdk/cloud-customization/building-style \"View this page for the Android platform docs.\") [iOS](/maps/documentation/ios-sdk/cloud-customization/building-style \"View this page for the iOS platform docs.\") [JavaScript](/maps/documentation/javascript/cloud-customization/building-style \"View this page for the JavaScript platform docs.\") [Web Service](/maps/documentation/maps-static/cloud-customization/building-style \"View this page for the Web Service platform docs.\")\n\n\u003cbr /\u003e\n\n| To use cloud-based maps styling on Android, you must use the latest renderer for Maps SDK for Android. [Follow these instructions](/maps/documentation/android-sdk/renderer).\n| Availability: This feature is visible on Android, iOS, Maps JavaScript API, and Maps Static.\n\nWhen you use a vector map in Android, iOS, or JavaScript,\nbuildings use the **3D** style beginning at zoom level 17 and higher by\ndefault. If you want to display only the 2D\noutlines of buildings for a cleaner appearance, select the **Footprints** style.\n| **Experimental:** This feature can only be set for light map styles. When you link a light map style that has custom building styles to a map ID, these styles also apply to the dark map style.\n\nSet the building style\n----------------------\n\n1. Zoom in on the map enough to see buildings shown.\n2. In the Map feature pane, select the gear icon to open the **Settings** pane. \n3. **To display buildings with a 3D outline** , select **3D**:\n\n | **Note:** Stroke color and stroke width customizations are not available for 3D style buildings.\n\n **To display buildings with a 2D footprint** , select **Footprints**:"]]