I need to implement a very customizable layer / map view on iOS5 / 6 (iPhone), which downloads tiles as images and / or data (JSON) from the server. This is similar to Google maps, but at specific points it is very specific, so I cannot easily use the solution, for example:
- google maps or
- route-me (used by MapBox)
CATiledLayer in combination with UIScrollView
The fact is that: None of the solutions really help me, due to my specific specifications. If you think there is a suitable solution , please tell me.
If not:
Help me find the best solution for my business !!!
"But why can't I use these beautiful solutions?"
There are several limitations that should be known:
We use only 3 zoom levels (0.1 and 2)
Each tile has nine subtiles in the next scalable level (= scaling factor 3) (not like most other sets do with 4 subtiles = zoomfactor 2)
The first layer has an initial size (speaking in pixels / dots - half) 768 * 1024. The
second layer is three times wider and higher (zoomfactor 3 !!!) → 2304 * 3072
The third layer is equally wider and higher than the second → 6912 * 9216
Each fragment that comes from the server has a size of 256x256 pixels
, 9 (12 1- , 108 2-, 972 )
( 6 ) ( ) ( JSON 10-15 )
- > JSON (, google), , (, , )
,
-/- , .
:
. CoreData
UIScrollView,
, , , .
( iPhone 5 320x500)
, . , / . "-", , . ?
, , . -JSON. JSON- ( " , , " ), ( DB/Disc Server)
UIScrollView ,
CALayer ? ""?
!!!