Changes between Version 19 and Version 20 of BluePrintGISAPI


Ignore:
Timestamp:
05/27/10 19:36:17 (12 years ago)
Author:
Fran Boon
Comment:

Change the selection of Features without reloading the map

Legend:

Unmodified
Added
Removed
Modified
  • BluePrintGISAPI

    v19 v20  
    3737}}}
    3838
    39 !MapFish have an API in JavaScript to allow their apps to be embedded in CMSs:
     39!MapFish have an API in !JavaScript to allow their apps to be embedded in CMSs:
    4040 * http://mapfish.org/doc/contribs/mapfishapi.html
    4141
     
    9090 * variable sized markers (image, circle, bar)
    9191I'm not sure if this is the right way to do it. But this is the sort of functionality I'd want.[[BR]]
    92 Infact, this function should be included with the API above, or I think that parts of the API above should be included with this.
     92In fact, this function should be included with the API above, or I think that parts of the API above should be included with this.
    9393{{{
    9494Args:
     
    9999Code Values - list - either of marker images to use, or colour values. *Predefined code values could be included in the code.
    100100popup_url = <default>, # The URL which will be used to fill the pop-up. it will be appended by the Location ID.
     101}}}
    101102
    102 }}}
     103Want to be able to change the selection of Features without reloading the map.
     104 * Suggests that there is a single Feature Layer defined
     105 * The controls to filter need to hook directly into the Map to reload the Features Layer over the (static) Base Layer
     106  * Catch Event & call [http://dev.openlayers.org/releases/OpenLayers-2.9.1/doc/apidocs/files/OpenLayers/Map-js.html#OpenLayers.Map.removeLayer map.removeLayer()] then a new [http://dev.openlayers.org/releases/OpenLayers-2.9.1/doc/apidocs/files/OpenLayers/Map-js.html#OpenLayers.Map.addLayer map.addLayer()]
     107  * Filters in main HTML & hence using jQuery: http://api.jquery.com/change/ or
     108  * Filters in map window & hence using Ext: http://www.extjs.com/deploy/dev/docs/source/Observable.html#method-Ext.util.Observable-addListener
     109
    103110----
    104111[wiki:BluePrintGeographicInformationSystems GIS BluePrints]