Hexagon Geospatial
MENU

Mobile

Need help in setting and configuring Mobile MapWorks or just looking for general information you can’t find anywhere else. The Mobile discussion board is where you can look for answers, ask those questions and help others by sharing your knowledge. Help build a strong Mobile Community and join in on the discussions.
Showing results for 
Search instead for 
Do you mean 
Reply
Regular Contributor
Posts: 246
Registered: ‎10-26-2015

Selection Style

[ Edited ]

According to MMW Administrator Documentation it is possible to define a "selection" style. I've done this in my MMW Advantage 2018 configuration but I never see this style applied to vector features when:

 

  • Tapping them on the map to display attributes.
  • Editing geometry of a feature

 

Where/when should I be able to see the "selection" style I define for a vector feature in the "legends" - "entries" section?

 

EDIT:

Here is how I've defined the styling for a linear vector feature:

{
                "id": "CarriagewayDatasetID",
                "name": "Carriageway",
                "dataset": "CarriagewayDatasetID",
                "visible": true,
                "heightBounds": {
                    "lowerBound": 0,
                    "upperBound": 2000
                },
                "style": {
                    "vector": {
                        "primary": {
                            "fill": {
                                "color": "ff0000",
                                "opacity": 0.7
                            },
                            "stroke": {
                                "color": "#ff0000",
                                "opacity": 0.7,
                                "width": 7
                                }
                            },
                        "selection": {
                            "fill": {
                                "color": "#cc33ff",
                                "opacity": 0.7
                            },
                            "stroke": {
                                "color": "#cc33ff",
                                "opacity": 1,
                                "width": 9
                            }
                        }
                    }
                }
            }

 

Thanks,

Colin

New Member
Posts: 1
Registered: ‎06-18-2019

Re: Selection Style

Thanks for sharing this. I used this and it is very ussful for me. 

Do you need immediate support?
If you encounter a critical issue and need immediate assistance please submit a Service Request through our Support Portal.