Hi,
I just installed olwidget; awesome application! Thanks for that.
I'm trying to use only in admin, so I followed the tutorial and everything worked fine, except for that annoying popup with MapLink/Google copyright information. For every click I do on the map, that popup appears making it impossible to work on the map. This is the same effect that can be seem directly from the simple example
http://docs.olwidget.org/en/latest/_static/examples/simple.html My admin.py looks like:
# -*- coding: utf-8 -*-
from django.contrib.gis import admin
from olwidget.admin import GeoModelAdmin
from models import Store
from django.conf import settings
class StoreGoogleAdminOptions(GeoModelAdmin):
list_display = ('name','slug')
list_filter = ('name','slug')
list_select_related = True
fieldsets = (
('Dados da Loja', {'fields': (('name','slug',))}),
('Localização(ões) da Loja', {'fields': ('servLocPts',), 'classes':('show','wide')}),
('Regiões que atende', {'fields': ('servLocPolys',),'classes': ('show', 'wide')}),
)
options = {
'layers': ['google.streets'],
'default_lon' :-46.7266971,
'default_lat' : -23.5407047,
'default_zoom' : 8,
}
# Register the google enabled admin site
admin.site.register(Store, StoreGoogleAdminOptions)