ThinkGeo.com    |     Documentation    |     Premium Support

Map hightlightOverlayer Selected



    
        
            
            
                
                    
                        
                        Add contextMenu I on the map of the highlightlayer, how to change the hightOverlayer is selected for feature color in the trigger ContextMenu menuItem click event
                        
                    
                    
                        

                        

                         
                    
                    
                         
                    
                    
                         
                    
                
            
            
        
        
            Johnny

            

            
MVP

            Posts:1406

            

            

            
            
            
                
                    
                        05-17-2013 11:24 AM
                        -->
                        
                        05-17-2013 11:24 AM
                        Accepted Answer Quote Reply Alert
                    
                    
                        
                        
                        
                        Hi Li,
                        
                         
                        Thanks for your post and welcome to mapsuite world, attached is the sample code, would you please try it? If you have any more question, please feel free to let us know.
                         
                        Hope it helps
                         
                        Johnny
                         
                        
                        
                    
                    
                        

                        Post11240Sample.txt

                        

                         
                    
                    
                        
                        

Need to know how to do something with Map Suite? Check our Wiki Code Samples Library and view the source code of any sample right in your web browser.


                        
                    
                    
                         
                    
                
            
            
        
        
            li<img hspace="2" alt="User is Online" vspace="2" src="http://gis.thinkgeo.com/DesktopModules/ActiveForums/themes/thinkgeo/online.png" style="vertical-align: middle" />

            

            
Level 1

            Posts:5

            

            

            
            
            
                
                    
                        05-19-2013 08:26 PM
                        -->
                        
                        05-19-2013 08:26 PM
                        <a onclick="afcbtopic('status|1|623|12|11240|37156|1')" href="javascript:void(0);"><font color="#000000">Correct Answer?</font></a> <a class="afminibutton" href="http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/afv/post/action/re/aff/12/aft/11240/postid/37156/Default.aspx"><img border="0" alt="Edit" align="absMiddle" src="http://gis.thinkgeo.com/DesktopModules/ActiveForums/themes/thinkgeo/edit16.png" /><font color="#333333" size="1">Edit</font></a> <a class="afminibutton" href="http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/afv/post/aff/12/aft/11240/afq/37156/Default.aspx"><img border="0" alt="Quote" align="absMiddle" src="http://gis.thinkgeo.com/DesktopModules/ActiveForums/themes/thinkgeo/quote16.png" /><font color="#333333" size="1">Quote</font></a> <a class="afminibutton" href="http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/afv/post/aff/12/aft/11240/afr/37156/Default.aspx"><img border="0" alt="Reply" align="absMiddle" src="http://gis.thinkgeo.com/DesktopModules/ActiveForums/themes/thinkgeo/reply16.png" /><font color="#333333" size="1">Reply</font></a> <a class="afminibutton" href="http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/afv/modreport/aff/12/aft/11240/afr/37156/Default.aspx"><img border="0" alt="Alert" align="absMiddle" src="http://gis.thinkgeo.com/DesktopModules/ActiveForums/themes/thinkgeo/warning.png" /><font color="#333333" size="1">Alert
                    
                    
                        
                        
                        

Hi Johnny,


                        

              thinks for your replay ,If this.map.HighlightOverlay has a Feature so that it can be ,if there is more than one Feature will turn red all,I only want to change the selected Feature instead of all.


                        

                                                                                                                                                                                  Hope you help


                        
                        
                    
                
            
            
        
    


    
        
            
            
                
                    
                        
                        Add contextMenu I on the map of the highlightlayer, how to change the hightOverlayer is selected for feature color in the trigger ContextMenu menuItem click event
                        
                    
                    
                        

                        

                         
                    
                    
                         
                    
                    
                         
                    
                
            
            
        
        
            Johnny

            

            
MVP

            Posts:1406

            

            

            
            
            
                
                    
                        05-17-2013 11:24 AM
                        -->
                        
                        05-17-2013 11:24 AM
                        Accepted Answer Quote Reply Alert
                    
                    
                        
                        
                        
                        Hi Li,
                        
                         
                        Thanks for your post and welcome to mapsuite world, attached is the sample code, would you please try it? If you have any more question, please feel free to let us know.
                         
                        Hope it helps
                         
                        Johnny
                         
                        
                        
                    
                    
                        

                        Post11240Sample.txt

                        

                         
                    
                    
                        
                        

Need to know how to do something with Map Suite? Check our Wiki Code Samples Library and view the source code of any sample right in your web browser.


                        
                    
                    
                         
                    
                
            
            
        
        
            li<img hspace="2" alt="User is Online" vspace="2" src="http://gis.thinkgeo.com/DesktopModules/ActiveForums/themes/thinkgeo/online.png" style="vertical-align: middle" />

            

            
Level 1

            Posts:5

            

            

            
            
            
                
                    
                        05-19-2013 08:26 PM
                        -->
                        
                        05-19-2013 08:26 PM
                        <a onclick="afcbtopic('status|1|623|12|11240|37156|1')" href="javascript:void(0);"><font color="#000000">Correct Answer?</font></a> <a class="afminibutton" href="http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/afv/post/action/re/aff/12/aft/11240/postid/37156/Default.aspx"><img border="0" alt="Edit" align="absMiddle" src="http://gis.thinkgeo.com/DesktopModules/ActiveForums/themes/thinkgeo/edit16.png" /><font color="#333333" size="1">Edit</font></a> <a class="afminibutton" href="http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/afv/post/aff/12/aft/11240/afq/37156/Default.aspx"><img border="0" alt="Quote" align="absMiddle" src="http://gis.thinkgeo.com/DesktopModules/ActiveForums/themes/thinkgeo/quote16.png" /><font color="#333333" size="1">Quote</font></a> <a class="afminibutton" href="http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/afv/post/aff/12/aft/11240/afr/37156/Default.aspx"><img border="0" alt="Reply" align="absMiddle" src="http://gis.thinkgeo.com/DesktopModules/ActiveForums/themes/thinkgeo/reply16.png" /><font color="#333333" size="1">Reply</font></a> <a class="afminibutton" href="http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/afv/modreport/aff/12/aft/11240/afr/37156/Default.aspx"><img border="0" alt="Alert" align="absMiddle" src="http://gis.thinkgeo.com/DesktopModules/ActiveForums/themes/thinkgeo/warning.png" /><font color="#333333" size="1">Alert
                    
                    
                        
                        
                        

Hi Johnny,


                        

              thinks for your replay ,If this.map.HighlightOverlay has a Feature so that it can be ,if there is more than one Feature will turn red all,I only want to change the selected Feature instead of all.


                        

                                                                                                                                                                                  Hope you help


                        
                        
                    
                
            
            
        
    

Add contextMenu I on the map of the highlightlayer, how to change the hightOverlayer is selected for feature color in the trigger ContextMenu menuItem click event (,If this.map.HighlightOverlay has a Feature so that it can be ,if there is more than one Feature will turn red all,I only want to change the selected Feature instead of all.)

    
        
            
            
                
                    
                        
                        Add contextMenu I on the map of the highlightlayer, how to change the hightOverlayer is selected for feature color in the trigger ContextMenu menuItem click event
                        
                    
                    
                        

                        

                         
                    
                    
                         
                    
                    
                         
                    
                
            
            
        
        
            Johnny

            

            
MVP

            Posts:1406

            

            

            
            
            
                
                    
                        05-17-2013 11:24 AM
                        -->
                        
                        05-17-2013 11:24 AM
                        Accepted Answer Quote Reply Alert
                    
                    
                        
                        
                        
                        Hi Li,
                        
                         
                        Thanks for your post and welcome to mapsuite world, attached is the sample code, would you please try it? If you have any more question, please feel free to let us know.
                         
                        Hope it helps
                         
                        Johnny
                         
                        
                        
                    
                    
                        

                        Post11240Sample.txt

                        

                         
                    
                    
                        
                        

Need to know how to do something with Map Suite? Check our Wiki Code Samples Library and view the source code of any sample right in your web browser.


                        
                    
                    
                         
                    
                
            
            
        
        
            li<img hspace="2" alt="User is Online" vspace="2" src="http://gis.thinkgeo.com/DesktopModules/ActiveForums/themes/thinkgeo/online.png" style="vertical-align: middle" />

            

            
Level 1

            Posts:5

            

            

            
            
            
                
                    
                        05-19-2013 08:26 PM
                        -->
                        
                        05-19-2013 08:26 PM
                        <a onclick="afcbtopic('status|1|623|12|11240|37156|1')" href="javascript:void(0);"><font color="#000000">Correct Answer?</font></a> <a class="afminibutton" href="http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/afv/post/action/re/aff/12/aft/11240/postid/37156/Default.aspx"><img border="0" alt="Edit" align="absMiddle" src="http://gis.thinkgeo.com/DesktopModules/ActiveForums/themes/thinkgeo/edit16.png" /><font color="#333333" size="1">Edit</font></a> <a class="afminibutton" href="http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/afv/post/aff/12/aft/11240/afq/37156/Default.aspx"><img border="0" alt="Quote" align="absMiddle" src="http://gis.thinkgeo.com/DesktopModules/ActiveForums/themes/thinkgeo/quote16.png" /><font color="#333333" size="1">Quote</font></a> <a class="afminibutton" href="http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/afv/post/aff/12/aft/11240/afr/37156/Default.aspx"><img border="0" alt="Reply" align="absMiddle" src="http://gis.thinkgeo.com/DesktopModules/ActiveForums/themes/thinkgeo/reply16.png" /><font color="#333333" size="1">Reply</font></a> <a class="afminibutton" href="http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/afv/modreport/aff/12/aft/11240/afr/37156/Default.aspx"><img border="0" alt="Alert" align="absMiddle" src="http://gis.thinkgeo.com/DesktopModules/ActiveForums/themes/thinkgeo/warning.png" /><font color="#333333" size="1">Alert
                    
                    
                        
                        
                        

Hi Johnny,


                        

              thinks for your replay ,If this.map.HighlightOverlay has a Feature so that it can be ,if there is more than one Feature will turn red all,I only want to change the selected Feature instead of all.


                        

                                                                                                                                                                                  Hope you help


                        
                        
                    
                
            
            
        
    



 Hi Li



 


We replied in the following post, would you please check it.


 


gis.thinkgeo.com/Support/Dis...fault.aspx 


 


Thanks,


 


Johnny