Skip to content

A library is many things

I use data and technology to tell stories that facilitate personal and communal transformation.

  • Home
    • About Me
    • About the Site
    • About the Title
  • Resume and Portfolio
    • Education
    • Professional Experience
    • Leadership and Volunteer Experience
    • Technical Skills
    • Selected Presentations and Publications
  • Blog

Tag: java

Posted on 2013-01-102014-11-16

Tweaking the Omeka Geolocation Plugin

Changing the default map type for the Omeka Geolocation plugin.

    1. Install the Geolocation plugin.
    2. Navigate to the map javascript file – example/omeka/plugins/Geolocation/views/shared/javascripts – and open it.
    3. Look down to about line 45 – find the line that starts like this: mapTypeId: google.maps.MapTypeId.HYBRID (or just search for “mapTypeId”)
    4. Now you’ve got choices to make! By changing just the last word in that line of code, you can change the default form of the map. From the google map javascript site:
      1. HYBRID – displays a transparent layer of major streets on satellite images.
      2. ROADMAP – displays a normal street map.
      3. SATELLITE – displays satellite images.
      4. TERRAIN – displays maps with physical features such as terrain and vegetation.
    5. Save the file you just edited and refresh your site to see the changes. This worked quite well for me and I’m very pleased with the change.

Geolocation went from a view that was not helpful to my collection

before

to a beautiful satellite image of my family’s farm!

after

Very pleased with the results!

As I said, I know nothing about how the internet works – I’m claiming this works because it worked for me. If it’s not the right way, please let me know so I can correct it! Thanks!

Categories

  • Assessment
  • Ethics/Values
  • Information Organization
  • Management
  • Miscellaneous
  • Outreach and Social Media
  • Personal
  • Policy
  • Reference and Instruction
  • Technology
Andy Meyer

Categories

  • Assessment
  • Ethics/Values
  • Information Organization
  • Management
  • Miscellaneous
  • Outreach and Social Media
  • Personal
  • Policy
  • Reference and Instruction
  • Technology
Proudly powered by WordPress