Changeset 6370


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
Files:
11 added
4 deleted
3 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 {
  • trunk/examples/mapviewer/ogr/ogr_csv_icon_example.tcl

    r6285 r6370  
    2626}
    2727
    28 # create an feature point layer from a csv file using the OGR driver
     28# create a feature icon layer from a csv file using the OGR driver
    2929# the longitude and latitude fields must be named "longitude" and
    3030# "latitude" respectively
Note: See TracChangeset for help on using the changeset viewer.