Quote:
Originally Posted by thecore762
Hi Sonic, if you can register on my site I'll provide you admins.
Thanks,
|
No prob, will do so tonight when I get home from work.
Quote:
Originally Posted by Bilderback
Great mod but I think I'll wait awhile.
I did test briefly and noticed TABLE_PREFIX missing in the $dc_markercheck query of dcMembermap.php
Adjusting query fixed SQL error.
Awesome work.
EDIT: latest version 1.0.1
Double Edit:
One great feature would be the ability to set a default location and zoom level for the map in the settings.
In my case, I wanted the map to default to a U.S. location so I added my own longitude, latitude, and zoom level to the javascript.
For anyone wishing the same, you can edit the function initMap() in /clientscript/dcMembermap.js to add your own default overview.
google.maps.LatLng(LATITUDE, LONGITUDE), ZOOM_LEVEL
Example:
Code:
function initMap() {
// Parse through the given points and show the map
mapoverview = [
new google.maps.LatLng(37.0625, -95.677068),
4
];
|
Cant believe that hasnt been picked up before to be honest. Cheers for that, will rebuild the lot tonight to ensure thats fixed. The default location/zoom level is something planned to be added as an option. Just ensuring there are no issues remaining before we add anything further
Quote:
Originally Posted by dsantana
I did a little edit to add a Legend... Created icon that are 20px x 20 px
Edited the dcMembermap template Copyright line...
Code:
<div class="copyright">
Image Legend: My location =<img src="/images/misc/dcMembermap/mypointlegend.png" alt="My Point"/>
, Online Member =<img src="/images/misc/dcMembermap/pointonlinelegend.png" alt="Online Member"/>
, Member Location =<img src="/images/misc/dcMembermap/pointlegend.png" alt="Member Location "/>
Copyright © <a href="https://vborg.vbsupport.ru/member.php?u=76889" target="_blank">Marc Stridgen</a> / <a href="https://vborg.vbsupport.ru/member.php?u=477751" target="_blank">Jos Ratsma</a> 2012
</div>
I hope you don't mind...
Used some new pointers too...
|
Good stuff