![]() ![]() Our map SDK is not only about maps! We also provide plenty of wrapper to our API calls! Languages that are written right-to-left such as arabic and hebrew are fully supported by default. Here is a sample of some compatible languages:īuilt-in support for right-to-left languages Whenever a label is not supported in the defined language, it falls back to Language.LATIN. Language.NON_LATIN uses a default with non-latin characters.Language.LATIN uses a default with latin characters.Language.LOCAL uses the language local to each country.Language.AUTO uses the language defined in the web browser.In addition, there are spacial language flags: The list of supported languages is built-in and can be found here. ENGLISH ) Īgain, it will only apply ENGLISH as the language of this specific map instance (and will not alter the global config). Shows a button that toggles the map into fullscreen.Hidden by default, showing on bottom-right if true. The unit ( "metric", "imperial" or "nautical") can be set in the config object config.unit (default: "metric") Hidden by default, showing on top-right if true. Shows a button to enable/disable the 3D terrain (does not tilt the map).If clicked again, the marker disapears (unless the map was moved since first clicked) When clicked, it adds a marker and center the map. Shows the, and tilt/bearing/compass buttons.Plenty of others are possible and we have made a few easy to add and directly accessible from the Map constructor options: The most well know are probably the and zoom buttons as well as the attribution information. The term "control" is commonly used for all sorts of buttons and information display that take place in one of the corner of the map area. This precision may vary based on many local parameters such as the density of the network grid or the terrain, this is why it is generaly better not to use a zoom level higher than 14. The IP geolocation is not using the GPS of a device and usually provides a precision in the order of a few hundred meters. The IP address is a numerical identifier of a computer within a network, just like the phone number for a telephone. □ Note 2: the term IP geolocation refers to finding the physical location of a computer using its IP address. ![]() □ Note: if none of the options center or hash is provided to the Map constructor, then the map will be centered using the POINT strategy, unless the geolocate has the value false. If hash is true but there is not yet a location hash in the URL, then the geolocation will work.
0 Comments
Leave a Reply. |