![]() ![]() find-Opens the map at a specific location.searchextent-When set to true, a geosearch through the search widget returns results that are within the default extent of the map.The search parameter must be set as true in order to use find for searchable layers in the map. This widget supports searching through geocoding and searchable layers. search-When set to true, the search widget is displayed.The following parameters search and find data in the map: ¢er=-86.39,39.84&level=16&home=true&basemap_toggle=true&alt_basemap=hybrid Feature and location search (geosearch) Leave an optional value blank if you do not want to include it. The description and title values need to be encoded in the URL. Longitude and latitude are required the other values are optional. Syntax is marker=longitude latitude wkid description URL title. marker-Places a desired image as a marker symbol with a pop-up in the map at a chosen location.disable_scroll-When set to true, mouse scrolling for zoom is disabled.The scale bar appears in the lower-left corner of the map. scale-When set to true, the scale bar is displayed.The home parameter is only valid if zoom is also set to true. If extent is set, the home button uses that extent instead of the map’s default extent. The home button is used to navigate back to the map’s default extent. home-When set to true, the home button is displayed.Their location in the map can be controlled by the zoom_position parameter. zoom-When set to true, the zoom in and zoom out buttons are displayed.This determines the default zoom level when the map loads, for example, level=9. level-The level ID of the cached scale as listed in the REST endpoint of the basemap.center-Centers the map using geographic coordinates (x,y).Only geographic coordinate system values are valid. extent-Specifies the extent to be used when the map loads.webmap-ID of the web map to display inside the embedded map viewer, for example, webmap=432a8d7ca22d4b5b859e0bdaa30ae118.The following parameters control map navigation and visibility of mapping elements: &legend=true&details=true&active_panel=details&popup_sidepanel=true Mapping Clicking the thumbnail image set with the logoimage parameter redirects to the URL set in logolink. logolink-URL to an external website or web resource.Clicking the thumbnail redirects to the URL set with the logolink parameter. logoimage-URL to an image that is used as a clickable thumbnail in the map layout.If the home parameter is set to true, the home button also moves according to the value of the zoom_position parameter. Valid options are top-left (default), bottom-left, top-right, or bottom-right. zoom_position-Determines the location of the zoom control buttons.popup_sidepanel-When set to true, pop-up information is presented on the info tab of the side panel instead of in the map.show_panel-When set to true, the side panel displays when the map loads.The legend or details parameter must be set to true if used as the value for the active_panel parameter. active_panel-Sets which tab is active in the side panel when the map loads.details-When set to true, the map’s description text appears in the side panel.legend-When set to true, a legend displays in the side panel showing the layers in the map.theme-Determines the color theme applied to the side panel and buttons.The following parameters give you control of the look and feel of the map: If any of the resources in the URL parameter are provided as HTTP, you must replace HTTP with HTTPS in the URL and make all resources accessible using HTTPS only. ![]()
0 Comments
Leave a Reply. |