'Injects OpenLayers JavaScript into the admin.'

@property
def media(self):

    media = super(GeoModelAdmin, self).media
    media.add_js([self.openlayers_url])
    media.add_js(self.extra_js)
    return media
