Hi, Thanks for this great module. I have been playing with it extensively and managed to create a gproximity view. Mostly with the help provided in the other issues. My first try resulted in some error, but I managed to create a view with no errors. It works fine on Firefox when showing markers, but in IE6 and IE7 it does not show the markers.
I am also using a zipcode database from the location module. Would it be possible to just type the postal code in the search and it would use the zipcode table from location module to find the lat/long. I have just spend some money to buy the postal code database for my country and would love to incorporate it into the search. Your module has much more to offer than the location modules, "search raduis in miles from postal code". I also need to be very specific in the search bar when I do a search for a town or city in my country. I also need to state my country name in the search otherwise google reverts to the US, Can you set the country(s) default so that you dont need to add the country name in the search bar, but it will be added automatically.
E.g. to find my hometown I need to search for "sedgefield western cape south africa". I will alway search for places in south africa so i dont need to type it all the time at the end. The order google loves it for my country is "city""province""country". If you could implement zipcodes into the search bar then the "default country" can point to what zipcodes to be used from the zipcodes table.
How do i display different markers on the same map? I can see that you can group markers of the same view field, but lets say I want to show different markers on the same map, colour coded to fit my taxonomy. Is that possible?
I found the calculation for distance in the gpMap.js file:
function calcDistance(startPoint,endPoint) {
return Math.round(((startPoint.distanceFrom(endPoint)/1000)/1.61)*100)/100;
}
How do I change this to Kilometers? I take it has something to do with the 1.61 value
Also do I change the tokens from [DISTANCE-MILES] to [DISTANCE-KM]?
And my last request for help. Lets say my initial map zoom is at 5. Now I do a search and it zooms one level in when it displays the search results. I need it to zoom in to level 11(zoom) when search results are shown.
This module is great for any community website and I am planning to use it to show rape/assault hotshots in south africa. As there is someone raped here every 24sec and not allot is done about it. Maybe this module will open someones eyes.
Thanks for the great work
Paul
Comments
Comment #1
greenskin commentedFixed. Please test next available snapshot.
Comment #2
mgenovese commentedWith the latest 2008-Jun-11 release, I see the markers NOT working in IE6. Can't say about IE7 since I don't use it. In IE6, there is only one marker shown (or all the markers are overlaid on to one - can't tell).
In Firefox, works fine. Safari on Windows, works fine.