Re: Google maps subclass of GeoModelAdmin

2008-10-15 Thread Justin Bronn
> I suppose I can log both a ticket and place it on djangosnippets.org. > Thanks This has come up a few times in #geodjango, and I've already written an example on how to use Google's base layer in the admin. I distilled it to a few snippets: http://www.djangosnippets.org/snippets/1144/ It's

Re: Google maps subclass of GeoModelAdmin

2008-10-15 Thread Thamsanqa
I suppose I can log both a ticket and place it on djangosnippets.org. Thanks On Oct 15, 4:39 pm, "Benjamin Wohlwend" <[EMAIL PROTECTED]> wrote: > Hi, > > > That's exactly why: Google Maps aren't free to use in > > non-publicly-accessible areas. Like, say, an admin interface. > > I'm not sure if

Re: Google maps subclass of GeoModelAdmin

2008-10-15 Thread Benjamin Wohlwend
Hi, > That's exactly why: Google Maps aren't free to use in > non-publicly-accessible areas. Like, say, an admin interface. > I'm not sure if this is really the case. The Google Maps API FAQ[1] says this about the topic: > As long your site is generally accessible to consumers without > charge,

Re: Google maps subclass of GeoModelAdmin

2008-10-15 Thread Jacob Kaplan-Moss
On Wed, Oct 15, 2008 at 8:12 AM, Waylan Limberg <[EMAIL PROTECTED]> wrote: > I'm not really sure, nor am I the one to make such a decision, but I > wonder if perhaps something like this hasn't been included because of > issues with Google's licensing. That's exactly why: Google Maps aren't free

Re: Google maps subclass of GeoModelAdmin

2008-10-15 Thread Waylan Limberg
I'm not really sure, nor am I the one to make such a decision, but I wonder if perhaps something like this hasn't been included because of issues with Google's licensing. Of course, not everyone is using GeoDjango in a commercial setting, so your code's still useful. Perhaps you could post it on

Google maps subclass of GeoModelAdmin

2008-10-15 Thread Thamsanqa
Hi I see that only open street maps are supported by GeoDjango in django.contrib.gis.admin through the OSMGeoAdmin class which inherits from GeoModelAdmin. I have discovered that changing this to use Google Maps is a matter of modifying the template files in contrib/gis/ templates/gis/admin and