Park and Rec finder Activity automatically selected

3219
4
Jump to solution
08-06-2014 09:33 AM
TamiMaddio
New Contributor III

Is there a way in the Park and Recreation Finder application to not require an "Activity" icon to be selected?  I would like no Icon selected or possibly choose which icon is selected.  It is messing up the search because it is searching automatically for an activity even when I only want to search by address or by Park name.  Does this make sense to anyone?

0 Kudos
1 Solution

Accepted Solutions
ScottAulen2
New Contributor III

If I understand you correctly, you're looking for the section of the code displayed below:

//Activities to be displayed in info window for a feature

    Activities: [{

        FieldName: "${RESTROOM}",

        Alias: "Restrooms Available",

        Image: "images/restrooms.png",

        isSelected: true

    }, {

        FieldName: "${ADACOMPLY}",

        Alias: "ADA Compliant",

        Image: "images/ada compliant.png"

    }, {

        FieldName: "${SWIMMING}",

        Alias: "Swimming",

        Image: "images/swimming.png"

    },

Change the part where it says isSelected to false.

View solution in original post

0 Kudos
4 Replies
ScottAulen2
New Contributor III

If I understand you correctly, you're looking for the section of the code displayed below:

//Activities to be displayed in info window for a feature

    Activities: [{

        FieldName: "${RESTROOM}",

        Alias: "Restrooms Available",

        Image: "images/restrooms.png",

        isSelected: true

    }, {

        FieldName: "${ADACOMPLY}",

        Alias: "ADA Compliant",

        Image: "images/ada compliant.png"

    }, {

        FieldName: "${SWIMMING}",

        Alias: "Swimming",

        Image: "images/swimming.png"

    },

Change the part where it says isSelected to false.

0 Kudos
TamiMaddio
New Contributor III

Thanks.

Don’t know how I missed that. It worked.

Tami

0 Kudos
LuciHawkins
Occasional Contributor III

Hi Tami,

What version of Park and Recreation finder are you using?  We are using the version for 10.2 and do not have that problem.  It searches one of three ways:  by Address OR by Park Name OR by Activity.

You can see our site here:

http://gis.fwb.org/ParksFinder/default.htm

Luci

0 Kudos
TamiMaddio
New Contributor III

Thanks. I didn’t notice there is an option to have the symbol on by default. I changed that and it works fine now. We are also using 10.2. Same as your’s.

Tami

0 Kudos