Ignore:
Timestamp:
Jun 2, 2016 5:23:49 AM (8 years ago)
Author:
dkearney
Message:

adding feature multiple selection examples, not all ideas work right now.
using the afr_elas shapefile because they include country elasticity values from the landuse tool.
adding an example of using large stylesheets with multiple colors.
adding example of performing multiple selection by:

  1. deleting and adding a layer by the same name
  2. using a callback
  3. updating a layer with map object's addSelector method and mapviewer's refresh method.
Location:
trunk/examples/mapviewer/feature
Files:
8 added
4 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/examples/mapviewer/feature/Makefile.in

    r6209 r6370  
    1616destdir         = $(prefix)/examples/mapviewer/feature
    1717FILES           = \
    18                   $(srcdir)/afr_countries.dbf \
    19                   $(srcdir)/afr_countries.prj \
    20                   $(srcdir)/afr_countries.shp \
    21                   $(srcdir)/afr_countries.shx \
     18                  $(srcdir)/afr_elas.dbf \
     19                  $(srcdir)/afr_elas.prj \
     20                  $(srcdir)/afr_elas.shp \
     21                  $(srcdir)/afr_elas.shx \
     22                  $(srcdir)/feature_layer_26_colors.tcl \
     23                  $(srcdir)/feature_multiple_selection_by_callback.tcl \
     24                  $(srcdir)/feature_multiple_selection_by_new_layer.tcl \
     25                  $(srcdir)/feature_multiple_selection_by_updated_layer.tcl \
    2226                  $(srcdir)/feature_selector_query.tcl
    2327
  • trunk/examples/mapviewer/feature/feature_selector_query.tcl

    r6285 r6370  
    2828# Parameters for feature layer
    2929array set ogrParams {
    30     url {local://afr_countries.shp}
     30    url {local://afr_elas.shp}
    3131}
    3232array set countries {
Note: See TracChangeset for help on using the changeset viewer.