added map refresh functionality

- if no maximum map range is set the whole view port is refreshed
- if a maximum map range is set, only resources within these ranges are
  considered