- Posts: 10
 - Thank you received: 0
 
Maptype depend of zoomlevel
- endersa
 - 
            
				
                            Topic Author
                                 - Offline
 - New Member
 - 
            
         
        Less
        More
        
            
    
        
            
        
                13 years 2 months ago                #1269
        by endersa
    
    
            
            
            
            
            
                                
    
                                                
    
        Maptype depend of zoomlevel was created by endersa            
    
        Hi,
It would be nice to create a Map which, depending on the scale a Map type shows.
For example, from zoom level 2 to 8, a Map of the type Terrain Map and from zoom level 8 and above a Map of the type Road Map.
Is that possible?
Regards,
Anthonie.
    It would be nice to create a Map which, depending on the scale a Map type shows.
For example, from zoom level 2 to 8, a Map of the type Terrain Map and from zoom level 8 and above a Map of the type Road Map.
Is that possible?
Regards,
Anthonie.
Please Log in or Create an account to join the conversation.
- Dima
 - 
            
				
                                 - Offline
 - Platinum Member
 - 
            
         
            
        
                13 years 2 months ago                #1279
        by Dima
    
    
            
Don't forget support my developments: post review in JED , donate , help with translation
        
    
            
            
            
            
            
                                
    
                                                
    
        Replied by Dima on topic Maptype depend of zoomlevel            
    
        Hi Anthonie
It is possible, but it is a little difficult to save your zoom and map definition in database in convenient way to use.
In another words, you should define pairs - zoom and map_type. But how it store and use user friendly way.
For example: text field, and pairs
2-TERRAIN;8-ROADMAP
which will converted to
..2 - TERRAIN type
3..8 - ROADMAP type
9.. - DEFAULT type for map
Any suggestions
    
            It is possible, but it is a little difficult to save your zoom and map definition in database in convenient way to use.
In another words, you should define pairs - zoom and map_type. But how it store and use user friendly way.
For example: text field, and pairs
2-TERRAIN;8-ROADMAP
which will converted to
..2 - TERRAIN type
3..8 - ROADMAP type
9.. - DEFAULT type for map
Any suggestions
Don't forget support my developments: post review in JED , donate , help with translation
Please Log in or Create an account to join the conversation.
        Time to create page: 0.175 seconds