-
Notifications
You must be signed in to change notification settings - Fork 2
tehmou/FlexMapTiler
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Copyright (c) 2010 Timo Tuominen Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. This component only provides a system to display map tiles, but it does not include them. Hence to be able to use FlexMapTiler you have to access to a server that provides the aforementioned tile images. FlexMapTiler assumes the following properties from the tiles: - world map is a square - on a given zoom level n, the number of map tiles is 2^n by 2^n The server is expected to use rest for defining the parameters, though the order is arbitrary. You give the url as http://youraddress.com/{zoomLevel}/{x}/{y}/{size} in which x is the index of the requested tile as in longitude "coordinate" starting from 0, and y is the corresponding for latitude. zoomLevel is a non-negative integer, the maximum of which depends on the server used. size is the dimension of a single map tile, assuming it is a rectangle - most commonly this would be 256, resulting in tiles of 256x256.
About
Flex component for loading and displaying map tiles (sample uses OpenStreetMaps).
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published