Webmastersite.net
Register Log In

Map Pins

Comments on Map Pins

webflair
Forum Regular

Usergroup: Customer
Joined: Nov 27, 2006

Total Topics: 187
Total Comments: 465
Map Pins
Posted Apr 05, 2012 - 7:34 AM:

I absolutely love that people can now edit their map pin on submit and edit.. But, if you do not have the Geo ip database loaded, the map defaults to a location in California.

Is there any way that we can decide on the default location? Or any way that the pin could place itself based on address input?
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7867
Paul
Posted Apr 05, 2012 - 9:30 PM:

The pin is auto-placed based on address input, of course. It refreshes the pin location whenever any of the address-related fields change. If you're having to manually locate the pin then there's something wrong and you should submit an inspection request: http://www.wsnlinks.com/inspection.html . Although if you're working with incomplete addresses, like just a city with no street address, then indeed the pin would have to be placed manually I believe.

As for what it shows before they enter a complete address, you can pass a default zoom level, latitude and longitude in the template by replacing
{LINKSUBMITEDITMAP}
with
{LINKSUBMITEDITMAP[5 <,> 47.01 <,> -120.15]}
where 5 is the zoom level, 47.01 is the latitude and -120.15 is the longitude.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.