Nice work.
I hadn't even started
I'll run some tests to make sure it performs like it should.
What I want to do is put a little marker on the map where the user is online but that can be done starting from this code.
the vars like $colorsupermod are set on top of the file grouped with all other vars just to make some cleaner code
PHP Code:
$zoomlevel = $vbulletin->input->clean_gpc('r', 'zoomlevel', TYPE_UINT);
$zoomlevel = $vbulletin->options['vbgooglemap_zoom'];
$googlekey = $vbulletin->options['vbgooglemap_key'];
$dlat = $vbulletin->options['vbgooglemap_lat'];
$dlng = $vbulletin->options['vbgooglemap_lng'];
$textchars = $vbulletin->options['vbgooglemap_ltext'];
$gmtexttablewidth = $vbulletin->options['vbgooglemap_tabletext'];
$gmavatartablewidth = $vbulletin->options['vbgooglemap_avatar'];
$gmavatar = $vbulletin->options['vbgooglemap_enable_avatar'];
$coloradmin = $vbulletin->options['vbgooglemap_coloradmin'];
$colorother = $vbulletin->options['vbgooglemap_colorother'];
$colorsupermod = $vbulletin->options['vbgooglemap_colorsupermod'];
$colormod = $vbulletin->options['vbgooglemap_colormod'];
I can include the online status in the marker file (little rewrite needed in the javascript parsing but that's ok). Thus avoiding messing with the usergroup codes. That way we can easily add something on the map or on the balloon.
I'll check what I can come up with.
It's 1 AM over here so I'm off to bed