add classes / colors to the Map Tour app

3688
1
Jump to solution
08-15-2014 09:07 AM
CONABIONC_for_Knowledge_and_Us
Occasional Contributor

Hi there,

I would like to add additional categories and colors to the Map Tour app, as it can be done e.g. with the Playlist app.

I´ve modified the maptour-comfig.js and defined an additional cssClass:

o: {

            iconPath: 'resources/markers/orange/orange',

            cssClass: 'number-orange'

        }

The cssClass is recognized but the marker isn´t displayed in the map - cp. number 4 in this map: http://speck.conabio.gob.mx/NALCMS/photo//index.html

Any hints?

thank you & best regards,

Flo

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
CONABIONC_for_Knowledge_and_Us
Occasional Contributor

Sorry, my fault - seems that I didn´t upload all marker files. So the code works:

o: {

            iconPath: 'resources/markers/orange/IconOrange',

            cssClass: 'number-orange'

        }

View solution in original post

1 Reply
CONABIONC_for_Knowledge_and_Us
Occasional Contributor

Sorry, my fault - seems that I didn´t upload all marker files. So the code works:

o: {

            iconPath: 'resources/markers/orange/IconOrange',

            cssClass: 'number-orange'

        }