- Posts: 21
 - Thank you received: 0
 
Problem with JS
- Hoschie
 - Topic Author
 - Offline
 - Junior Member
 - 
            
         
        Less
        More
        
            
    
        
            
        
                7 years 4 months ago                #11722
        by Hoschie
    
    
            
            
            
            
            
                                
    
                                                
    
        Problem with JS was created by Hoschie            
    
        Morning @all,
I mentioned the same problem as is described in the post forum.zhuk.cc/index.php/forum/gm-compone...doesent-display#1956 , but I need the email adress in the placemarklist. Are there any new suggestions?
Greetz
Hoschie
    I mentioned the same problem as is described in the post forum.zhuk.cc/index.php/forum/gm-compone...doesent-display#1956 , but I need the email adress in the placemarklist. Are there any new suggestions?
Greetz
Hoschie
Please Log in or Create an account to join the conversation.
- Dima
 - 
            
				
                                 - Offline
 - Platinum Member
 - 
            
         
            
        
                7 years 4 months ago         -  7 years 4 months ago        #11723
        by Dima
    
    
            
Don't forget support my developments: post review in JED , donate , help with translation
        
    
    
            
            
            
            
                                
    
                                                
    
        Replied by Dima on topic Problem with JS            
    
        Hi.
I wrote, that simple email in infowin code can break my code due to Email Cloaking plugin.
But you have a few ways to fix it.
#1 - you can enable dynamic loading infowin content - in this case plugin doesn't process that data and infowin content will be loaded by ajax when you click on placemark.
Go to map details -> Advanced options
set "Loading content data dynamically" to Yes
#2 - you can set dynamic loading map objects - in this case all placemarks will be loaded by ajax, and, its infowin content will be loaded as in #1
Go to map details -> Advanced options
set "Loading map objects dynamically" to Yes
and the other 3 options (Load type, Buffer size). Value of "Loading content data dynamically" doesn't processed in this case, because in this case it is "Yes" any time.
#3 - you can simple disable Email Cloaking plugin - but in this case all email will not be processed by it
Go to plugin list
Enter Email and press find
You'll see Content - Email Cloaking plugin
            I wrote, that simple email in infowin code can break my code due to Email Cloaking plugin.
But you have a few ways to fix it.
#1 - you can enable dynamic loading infowin content - in this case plugin doesn't process that data and infowin content will be loaded by ajax when you click on placemark.
Go to map details -> Advanced options
set "Loading content data dynamically" to Yes
#2 - you can set dynamic loading map objects - in this case all placemarks will be loaded by ajax, and, its infowin content will be loaded as in #1
Go to map details -> Advanced options
set "Loading map objects dynamically" to Yes
and the other 3 options (Load type, Buffer size). Value of "Loading content data dynamically" doesn't processed in this case, because in this case it is "Yes" any time.
#3 - you can simple disable Email Cloaking plugin - but in this case all email will not be processed by it
Go to plugin list
Enter Email and press find
You'll see Content - Email Cloaking plugin
Don't forget support my developments: post review in JED , donate , help with translation
        Last edit: 7 years 4 months ago  by Dima.            
    
        The following user(s) said Thank You: Hoschie     
            Please Log in or Create an account to join the conversation.
- Hoschie
 - Topic Author
 - Offline
 - Junior Member
 - 
            
         
        Less
        More
        
            
    
        - Posts: 21
 - Thank you received: 0
 
            
        
                7 years 4 months ago                #11724
        by Hoschie
    
    
            
            
            
            
            
                                
    
                                                
    
        Replied by Hoschie on topic Problem with JS            
    
        Great! It works.
Thank you very much. Well done and great tool!
Greetz Hoschie
    Thank you very much. Well done and great tool!
Greetz Hoschie
Please Log in or Create an account to join the conversation.
- Hoschie
 - Topic Author
 - Offline
 - Junior Member
 - 
            
         
        Less
        More
        
            
    
        - Posts: 21
 - Thank you received: 0
 
            
        
                7 years 4 months ago                #11725
        by Hoschie
    
    
            
            
            
            
            
                                
    
                                                
    
        Replied by Hoschie on topic Problem with JS            
    
        Hmmm....maybe this settings ("Loading content data dynamically" to Yes) does have an affect on the custom order in the placemarklist?
Greetz
Hoschie
    Greetz
Hoschie
Please Log in or Create an account to join the conversation.
- Dima
 - 
            
				
                                 - Offline
 - Platinum Member
 - 
            
         
            
        
                7 years 4 months ago                #11726
        by Dima
    
    
            
Don't forget support my developments: post review in JED , donate , help with translation
        
    
            
            
            
            
            
                                
    
                                                
    
        Replied by Dima on topic Problem with JS            
    
        No.
Loading map objects can affect, because I request it blocks (by buffer size), and it can come back in the other order - due to response
            Loading map objects can affect, because I request it blocks (by buffer size), and it can come back in the other order - due to response
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.
- Dima
 - 
            
				
                                 - Offline
 - Platinum Member
 - 
            
         
            
        
                7 years 4 months ago                #11727
        by Dima
    
    
            
Don't forget support my developments: post review in JED , donate , help with translation
        
    
            
            
            
            
            
                                
    
                                                
    
        Replied by Dima on topic Problem with JS            
    
        By default
Map details -> Placemarks -> Placemark ordering
This way sorting. But if you enable ajax loading map objects (not only its content) - the order in list can be different.
            Map details -> Placemarks -> Placemark ordering
This way sorting. But if you enable ajax loading map objects (not only its content) - the order in list can be different.
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.146 seconds