Symbols & Styling

Symbols & Styling

iShare in the Cloud Customers

iShare comes with a variety of symbols (images) which you will find in the following location:

E:\iShareData\LIVE\_MapServerConfig\CustomSymbols\mapicons\images

Here are just some....

Each of this symbols is referenced in the mapicon.sym file in the mapicons folder. Your Astun Consultant will create you a copy of the mapicon.sym file e.g. mapicon_abc.sym in the same location, which only references the symbols that you're actually using in your iShare instance. This makes the symbols much easier to manage and also makes the loading of the SLD Style Editor quicker when styling your Layers. To use the cut down .sym file the _common.map (in the _MapServerConfig folder) will need to be updated to point to this file instead of the default mapicon.sym - again this should normally have been carried out by your Astun Consultant.

If you don't see a symbol that you like then you can have a look at https://mapicons.mapsmarker.com/ which is a useful site for map icons.

To configure iShare to use new symbols then you will need to:

  • Save the image(s) to your E:\iShareData\LIVE\_MapServerConfig\CustomSymbols\mapicons\images folder.

  • Add a link to these icons in your mapicon_abc.sym file in the following way

Image Name

Snippet for .sym file

Image Name

Snippet for .sym file

roadworks.png



Better Code Block



iShare On-Premise Customers

You can style the map according to your requirements and use any of a number of supplied icons to denote places such as Schools, Playgrounds, Doctors, Dentists etc. together with using existing MapServer Cartography.

If you don't see an icon you like in the Directory of Icons below then the following links to a useful site for map icons - https://mapicons.mapsmarker.com/

You should create your own symbols file in the /mapserver/shared/symbols folder and copy any symbols that you wish from the supplied symbolsms6.1.sym file which you will find in the same folder. Then you will be able to edit this file without a subsequent upgrade to iShare overwriting your changes and as it will only contain the symbols you wish to use will make it easier to manage. Your new symbols file must start with a SYMBOLSET entry and have a matching END and then each individual SYMBOL entry with matching END e.g.

Symbols file
SYMBOLSET   SYMBOL NAME 'hospitals' TYPE PIXMAP IMAGE "isharemaps/hospital-1.png" END   SYMBOL NAME 'circle' TYPE ELLIPSE FILLED TRUE POINTS 1 1 END END   END



You will also need to edit the .MAP file and change the SYMBOLSET entry near the top to point to your new file e.g.

SYMBOLSET "d:/mapserver/shared/symbols/symbols_myfile.sym"



Directory of Icons

The following is a list of the current entries in the supplied symbolsms6.1.sym file together with their SYMBOL NAME.

Description

Icon

SYMBOL NAME

Icon

SYMBOL NAME

Icon

SYMBOL NAME

Icon

SYMBOL NAME

Description

Icon

SYMBOL NAME

Icon

SYMBOL NAME

Icon

SYMBOL NAME

Icon

SYMBOL NAME

Library

libraries

libraries2









Community Centre

communitycentres

communitycentres2









Church Hall

churchhalls

churchhalls2









Place of Worship

placesofworship

placesofworship2









Youth Club

youthclubs

youthclubs2









Social Club

socialclubs

socialclubs2









Leisure Centre

leisure













Activity

activity













Playground

playground













Park

parks

parks2









Police Station

police

police2









Fire Station

fire

fire2









Ambulance Station

ambulances

ambulance2









Doctor

doctors

doctors2









Dentist

dentists

dentist2









Hospital

hospitals

hospitals2









Pharmacy

pharmacies













Clinic

clinics

clinics2









Optician

optician

opticians









Cinema

cinema

cinema2









Theatre

theatre

theatre2









Public House

pub

pub2









Restaurant / Cafe

cafe

cafe2









Takeaway

takeaway













Sports Centre

sports

sports2









Tennis Courts

tennisball

tennis









Golf Course

golf













Bowling Green

bowlinggreen













Hotels/ Boarding House

hotel

hotel2









Caravan and Chalet site

caravan

caravan2









Camp Site