1

Topic: Homepage map of record locations

Hello,
A recorder has just contacted me because they have entered a record and marked it as sensitive. Correctly, the site name and grid reference are not shown and within the record details the location is shown at the specified resolution. However, the home page map still displays the record as a point  - the centroid of 'blurred' resolution point it seems (see attached). 
There was also some concern that displaying the centroid of a square as a dot is misleading, as records are entered at variable resolutions but here are pinpointed to locations which may not be correct.
Would it be possible to not show records marked as sensitive here/show records at the resolution entered?

Any thoughts?

Thanks,
Tamara

Tamara Weeks
Environmental Records Centre for Cornwall and the Isles of Scilly (ERCCIS)

2

Re: Homepage map of record locations

.....Perhaps this also applies to the Explore All Records view?

Tamara Weeks
Environmental Records Centre for Cornwall and the Isles of Scilly (ERCCIS)

3

Re: Homepage map of record locations

Hi Tamara
I was wondering whether the map on the home page would be better as a zoomed out map of Cornwall, with the records showing at their correct, public precision (i.e. large squares for sensitive records)? The map code you are running predates the sensitive records functionality so didn't really take that into account.
Cheers
John

John van Breda
Biodiverse IT

4

Re: Homepage map of record locations

Hello John,

Yes - I think this would avoid the issues with senstive records and also the inaccurate 'pin-pointing'. Is this a case of tweaking this code?/Can you help?!:

<?php
  iform_load_helpers(array('map_helper'));
  echo map_helper::map_panel(array(
    'presetLayers' => array('google_hybrid','google_streets','osm'),
    'editLayer' => false,
    'initial_lat'=>variable_get('indicia_map_centroid_lat', 55),
    'initial_long'=>variable_get('indicia_map_centroid_long', -1),
    'initial_zoom'=>variable_get('indicia_map_zoom', 5),
    'width'=>'100%',
    'height'=>410,
    'standardControls'=>array('layerSwitcher','panZoomBar')
  ), array('theme' => map_helper::$js_path . 'theme/default/style.css'));
map_helper::add_resource('defaultStylesheet');
handle_resources();
?>

Thanks,
Tamara

Tamara Weeks
Environmental Records Centre for Cornwall and the Isles of Scilly (ERCCIS)

5

Re: Homepage map of record locations

Hi John,

Just wondered if you could help with updating the viewing of records in any map views, as per your suggestion above?

Many thanks,
Tamara

Tamara Weeks
Environmental Records Centre for Cornwall and the Isles of Scilly (ERCCIS)