![]() Each of the waypoints is defined by either a pos (position) or adr (address) identifier. Rtp=adr.Seattle,WA~adr.One%20Microsoft%20Way,Redmond,WAĭefines the start and end of a route to draw on the map, each separated by a tilde (~). To create a map that displays directions from a specific start and end point, use the following parameters. You can append the pg parameter to a search string using a tilde (~) to specify which page of results to display.Įxamples Open Bing Maps to a specific address: Use the following values with the sst parameter to specify the sort option. You can append the sst parameter to a search string using a tilde (~) to specify how the search results are sorted. Use the following search parameter modifiers with the ss parameter to specify how results are displayed. Use this parameter to display search results for a business. The text is the same text that you type in the upper search box in Bing Maps to search for a specific address or place name.ĭefines the searches that you want to display. Parameterĭefines a location to center the map based on a specific address or a place name. To create a map that displays specific search results, use the following parameters. To open Bing Maps with the map centered on a specific location, the map view set to bird’s eye (oblique), and with a traffic overlay displayed: To open Bing Maps with the map centered on a specific location, the map view set to bird's eye (oblique) image, and a specified zoom level and scene: To open Bing Maps with the map centered on a specific location with a zoom level of 12, and the map view set to the road map view: Omitting the trfc parameter produces the same results as trfc=0 Specifies whether traffic information is included on the map. Valid values are 0 for North, 90 for East, 180 for South, and 270 for West. Specifies the direction that the camera is pointing in degrees. You can use this parameter with a lvl value of 1 or 2 and a dir value to view different formats of the map image. Specifies the ID of the bird's eye (oblique) image tile to display. b: Display a bird's eye (oblique) with labels view of the map. o: Use this value to display a bird's eye (oblique) view of the map. h: Display an aerial view of the map with labels. Valid values for this parameter include: - a: Display an aerial view of the map. A table of search parameters is provided below.ĭefines the map view. This parameter is ignored when a search parameter, such as ss or where1, is specified. Latitude and longitude are commonly presented in decimal degrees as two numbers, such as -47.677797 (latitude) and -122.122013 (longitude).ĭefines the zoom level of the map view. Use the following format for the cp parameter: Latitude~Longitude Both values must be expressed in decimal degrees. Parameterĭefines where the center of the map should be. The following are some common parameters that customize your map. This example sets the centerpoint of the map. To build your own URL, start with the base map URL:Īdd the first parameter that you want to use, and then set the value of the parameter by using an equal sign (=): Available parameters and examples are provided in the sections below. ![]() Parameters specify things like the map center point, zoom level, map view (area that you want your map to display), search results and more. To create your map link, start with the base URL for Bing Maps shown below, and then add parameters to customize the map. In this case, you can use the information in this article to build your own Bing Maps URL. However, there may be times when you want more control or options such as search results and items in your places list. From the Share dialog box, you can click Customize and Preview to further customize your map URL. See that we are using a parameter called 'element' (as we defined in the SLD) in the 'env' parameter (at the end of the request), wich you can assign a value in the wms request, so only the feature with a value of 'name_yo_want_to_filter' for the attribute 'name' would be rendered as blue, like this: Bear in mind that 'fid' would not be a valid parameter as it is usually hidden, so geoserver wont accept a 'PropertyIsEqualTo' filter of it.If you want to email someone a map URL or embed a map into your website, you can get the map you need in most cases by clicking Share at. You can use both filters and variable substitution for this. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |