Skip to content

Added filter by list and pan to selected configuration options#33

Open
gistom wants to merge 2 commits intoEsri:masterfrom
gistom:master
Open

Added filter by list and pan to selected configuration options#33
gistom wants to merge 2 commits intoEsri:masterfrom
gistom:master

Conversation

@gistom
Copy link

@gistom gistom commented May 16, 2014

In index.html there are two additional configuration options:
FILTER_LIST_BY_EXTENT and PAN_MAP_ON_ITEM_SELECT. By setting
FILTER_LIST_BY_EXTENT to false, your list will never change, no matter
what you are looking at in the map. If you set PAN_MAP_ON_ITEM_SELECT to
true, the map will pan to the item when it is selected in the list.
These two options allow the short list to be controlled by the list
rather than the map. Also added query string parameters of "extent_filter" and "pan_to_item" to control these configuration options. An example is available here: http://esridotpublic.s3.amazonaws.com/Apps/shortlistwithpan/index.html.

In index,html there are two additional configuration options:
FILTER_LIST_BY_EXTENT and PAN_MAP_ON_ITEM_SELECT. By setting
FILTER_LIST_BY_EXTENT to false, your list will never change, no matter
what you are looking at in the map. If you set PAN_MAP_ON_ITEM_SELECT to
true, the map will pan to the item when it is selected in the list.
These two options allow the short list to be controlled by the list
rather than the map.
Fixed the sharing link for Facebook. Also changed "Website" to "Launch"
in the popup.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants