Zum Hauptinhalt gehen

Custom global search provider stopped working

Kommentare

4 Kommentare

  • Berend Veldkamp
    I'm still struggling with this issue, hopefully someone at Latitude can shed some light here?

     

    I just tested with HTML viewer 2.9, and it still doesn't work. Some things I found out:
    • In this viewer there's a new option to zoom to all search results, and this works. 
    • If I select a search result, press the ... button and then select 'Zoom to feature', this works
    • If I switch to Table View, selecting a row also selects and zooms to that feature
    • I still cannot open the attributes of a search result
    • Clicking on a feature in the search result list does nothing.
    • I tried the GeoNamesSearchProvider that comes with the samples of the HTML viewer, this one has the same problems
    0
  • Permanently deleted user
    Hi Berend,

     

    Looks like the sample site online is also [still] broken, so we'll get someone to look into that.

     

    I suspect that there is a new requirement when dynamically generating the FeatureSet; perhaps we now have to add it to a FeatureSetCollection or tell the viewer that it is allowed to own (and thus present attributes for) this Featureset.

     

    Regards,

     

    -Malcolm
    0
  • Berend Veldkamp
    My colleague discovered two small mistakes I made:
    • In ResourceManifest.xml I had set Library="false"
    • The name of the library did not match the one in [device].json.js
    So I guess a newer version of the viewer is more strict.
    0
  • Permanently deleted user
    OK Berend, with those adjustments were you able to get your code to work?  If not let us know.

     

    Regards,

     

    -Malcolm
    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.