Google Member Map

Started by TLM, December 18, 2005, 08:43:52 PM

Previous topic - Next topic

TLM

When its done?

Keep in mind as well I am having to work on it bit by bit when free time comes to me and I am not stressed.  I can tell you this, clustering might be gone or different, have not decided yet.  Gonna have ability for people to import there own custom .kml files for those people that want to use the map that way...  Thats about all the major changes I can remember at this hour of the night, gg homework,

I am sorry for having to keep delaying this for such a long time, I hope it is worth the wait once I am done with it.

Bigguy

I am sure it will be. Looking forward to seeing the new version. ;)

naitram

i have a question about clustering, how is it implemented? do how close do pins need to be to eachother to be considered part of a cluster?

Niteblade

Quote from: TLM on March 28, 2007, 02:56:49 AM
When its done?

Keep in mind as well I am having to work on it bit by bit when free time comes to me and I am not stressed.  I can tell you this, clustering might be gone or different, have not decided yet.  Gonna have ability for people to import there own custom .kml files for those people that want to use the map that way...  Thats about all the major changes I can remember at this hour of the night, gg homework,

I am sorry for having to keep delaying this for such a long time, I hope it is worth the wait once I am done with it.

Instead of "Frodo Lives!" it should be "TLM Lives!"  ;D

* nite0859 grabs some spraypaint and heads to tag up some buildings.
affiliate blog

TLM

Quote from: naitram on March 30, 2007, 10:24:19 AM
i have a question about clustering, how is it implemented? do how close do pins need to be to eachother to be considered part of a cluster?

I am not really sure, for I used someones clustering script, that I really should have asked first to distribute like I did.  If memory serves me correcly, it works off of how close the pins are and figures with zoom level.

Quote from: nite0859 on March 31, 2007, 10:11:58 AM
Quote from: TLM on March 28, 2007, 02:56:49 AM
When its done?

Keep in mind as well I am having to work on it bit by bit when free time comes to me and I am not stressed.  I can tell you this, clustering might be gone or different, have not decided yet.  Gonna have ability for people to import there own custom .kml files for those people that want to use the map that way...  Thats about all the major changes I can remember at this hour of the night, gg homework,

I am sorry for having to keep delaying this for such a long time, I hope it is worth the wait once I am done with it.

Instead of "Frodo Lives!" it should be "TLM Lives!"  ;D

* nite0859 grabs some spraypaint and heads to tag up some buildings.

Just for that...
* TLM flatlines

ManuelW

Quote from: naitram on March 30, 2007, 10:24:19 AM
i have a question about clustering, how is it implemented? do how close do pins need to be to eachother to be considered part of a cluster?

the clustering isnt work on my board. if i disable it the user pins are shown, but enabled the map is empty ;(

TLM

That is probably due to the changes in the google maps API and old script, therefor probably throwing a lot of js errors and you just don't see them?

vkot

I am wondering if a smaller maximum zoom can be set.
Some members are a bit afraid to define their exact location. Or, they could define it, if other members are not able to zoom too much.
For example see the map at www.frappr.com It doesn't zoom too much.

Also, why are the maps of the member map and the profile page, different? One has a zoom bar and it starts with the defined default zoom, the other has no bar and starts by showing the whole world.
For specialized SMF installation/customization, Web Development, Linux Server Administration, click here.
Για εξειδικευμένες υπηρεσίες στα παραπάνω, πατήστε εδώ.

digit

#908
I was playing around with my implementation of TLM's (much appreciated) Member Map - running on SMF 1.1.2.  My clustering doesn't work at all, (I think it used to on an earlier SMF)  nor does the map display in Internet Explorer.  I use Safari and Firefox, on a Mac, and the map displays fine for me. (all 3000+ pins!)  It takes a long time, but it works! :)

Besides the problem of most of my users not being able to use it in IE, I am running into a real scalability issue.... mainly due to my clustering not working.

so.... just put me on that list of patient, appreciative users.  ;D


Happily using a heavily modified 1.1.16 version of SMF!

2748011 Posts in 320998 Topics by 50986 Members


SOLD my website - thanks it was a good run - they converted to vbadvanced. (and screwed it up good!)

Owain

Just wondering what the latest progress is on this mod? I know your all very busy so no pressure :)

O.
www.tractionkiting.co.uk
Dedicated to promoting Kiting in Scotland

qubbah

Anybody can pack this mod for 1.1.1

im still waiting for this for a along time....

flodav

Hi Guys,

The mod is well installed on my SMF 1.1.2 + Tinyportal. I have the admin panel working: I disabled the clustering of pins. In the profile, everything seems to work well: I can enable and disable pins. When I launch the map, I can see the map with the correct zoom but no pins at all.

In IE, I have some errors: clusterer is undefined

Can anyone help me showing the pins ?
admin de hxxp:www.forum-opel.fr [nonactive]

flodav

Ouahh I've just find the solution, I disabled the following lines in GoogleMap.php

// This is so we can try to cluster some of those pins together so the map does not get over loaded?
        //var clusterer = new Clusterer( map );
        //clusterer.icon = clusterIcon;
        //clusterer.minMarkersPerClusterer = ' . $modSettings['googleMapsMinMarkerCluster'] . ';
        //clusterer.maxVisibleMarkers = ' . $modSettings['googleMapsMaxVisMarker'] . ';
        //clusterer.GridSize = ' . $modSettings['googleMapsMaxNumClusters'] . ';
        //clusterer.MaxLinesPerInfoBox = ' . $modSettings['googleMapsMaxLinesCluster'] . ';

and

//if ($modSettings['googleMapsEnableClusterer'])
  //  echo '
    //                clusterer.AddMarker(marker, label);';
//else


And now the pins are showing up. So disabling clustering in Admin panel isn't enough, you also need to remove the code
admin de hxxp:www.forum-opel.fr [nonactive]

StormLrd

So is anyone gonna update the package for 1.1.2 or not?

brianjw

I would like to see it updated for 1.1.2 :)

PS: Storm, I see it on Tinyportals.com. You should post it here. Give me a pm.

qubbah

i think this is the best time to make the latest google map mod. Why its take soo and very long time to make it.... is there no specialist about that...

Drunken Clam

Quote from: qubbah on May 27, 2007, 05:23:08 AM
i think this is the best time to make the latest google map mod. Why its take soo and very long time to make it.... is there no specialist about that...

Are you having trouble understanding the following........???

Quote from: TLM on March 28, 2007, 02:56:49 AM
When its done?

Keep in mind as well I am having to work on it bit by bit when free time comes to me and I am not stressed.  I can tell you this, clustering might be gone or different, have not decided yet.  Gonna have ability for people to import there own custom .kml files for those people that want to use the map that way...  Thats about all the major changes I can remember at this hour of the night, gg homework,

I am sorry for having to keep delaying this for such a long time, I hope it is worth the wait once I am done with it.

It will be done when time allows! You just have to be patient like the rest of us!  ;)

StormLrd

Thanks Brian, yes i had to fix several things in the package before it would install correctly. I also believe the reason you can't use cluster pins is that in the code it appears to be either or not both, If i manage to solve it i'll post the fix but in the meantime you can view the working model on my 1.1.2/TP9.83 site
just click my signature.

GuidO35

Hi, i'm wondering, if it is possible to add a search box,  as it is explained hxxp:www.google.com/apis/maps/documentation/index.html#Geocoding_Examples [nonactive]

var map = new GMap2(document.getElementById("map"));
var geocoder = new GClientGeocoder();

function showAddress(address) {
  geocoder.getLatLng(
    address,
    function(point) {
      if (!point) {
        alert(address + " not found");
      } else {
        map.setCenter(point, 13);
        var marker = new GMarker(point);
        map.addOverlay(marker);
        marker.openInfoWindowHtml(address);
      }
    }
  );
}


I tried but got error responses, so maybe you can help a french googlemap addict

brianjw

Quote from: GuidO35 on May 28, 2007, 02:16:36 PM
Hi, i'm wondering, if it is possible to add a search box,  as it is explained here

var map = new GMap2(document.getElementById("map"));
var geocoder = new GClientGeocoder();

function showAddress(address) {
  geocoder.getLatLng(
    address,
    function(point) {
      if (!point) {
        alert(address + " not found");
      } else {
        map.setCenter(point, 13);
        var marker = new GMarker(point);
        map.addOverlay(marker);
        marker.openInfoWindowHtml(address);
      }
    }
  );
}


I tried but got error responses, so maybe you can help a french googlemap addict
That would be pretty cool :)
Quote from: StormLrd on May 27, 2007, 10:52:24 AM
Thanks Brian, yes i had to fix several things in the package before it would install correctly. I also believe the reason you can't use cluster pins is that in the code it appears to be either or not both, If i manage to solve it i'll post the fix but in the meantime you can view the working model on my 1.1.2/TP9.83 site
just click my signature.
You PM me or email me on your site or SMF when you get it up so I know when to look ;)

Advertisement: