Page 1 of 1

Google Maps

Posted: Wed Oct 08, 2008 11:52 am
by mazhar
A few days ago i found some great stuff regarding the Google Maps here
http://www.codeproject.com/KB/custom-co ... ntrol.aspx.
Just for fun i tried to make it work with AbleCommerce and with a little effort i made it. I think it may be useful for some community members so i am posting it here. After installing the attached package all you need is to apply the GMAP scriptlet available in content section and specify your longitude latitude information as a pushpin in the Pushpin property. For example i just use the info available with the sample from the link above

Code: Select all

[[ConLib:GMAP CenterPoint="1, 43.66619, -79.44268" Pushpins="1, 43.65669, -79.45278|2, 43.66619, -79.44268|3, 43.67689, -79.43270" Width="100%" Height="600px"]]
You can specify multiple Pushpins by just providing a "|" bar as separation. There are many other samples available at the link i posted above, i just created a user control for one of them.

[Screen Shot]

Re: Google Maps

Posted: Wed Oct 08, 2008 8:56 pm
by AbleMods
Check this...
http://www.solunar.com/Solunar-Times-In ... 5C650.aspx

Move the marker and watch the latitude/longitude fields automatically populate the product template fields created by AC7.

Mine was accomplished with a .Net control that creates all the Google Javascript for you. I inject some additional javascript OnMouseMove to the marker that populates the HTML fields with the current pointer lat/long values.

You can find the .Net control here http://en.googlemaps.subgurim.net/

It makes working with Google Maps actually fun for .Net programmers

Oh and buy some Solunar Times while you're there - they work for anywhere on the planet :D

Re: Google Maps

Posted: Tue Jan 13, 2009 7:08 am
by kastnerd
I am hoping to use Google maps to map out a specific user group. About 1,000 to 1,4000 users will be in this group.

I am currently using some code from http://crystaldawn.net/
It works vary well i just need to enter the address info into its own database and it will populate the database with longitude and latitude.
He has update the code since the one im using. When i set a user into "dealer" group then they should show up on the map.