×

MapLocator

This page requires that you have received a mapping keycode from Google for the web site that it will be used on.  If you are testing on a staging site, that site will need a keycode as well.

This page requires 3 properties to be setup correctly to work:

  • FieldName - Tells the page which Field to look at (this field needs to already be created for Customers)
  • FieldValue - Tells the page the value to find (Typically True or False for Boolean Fields, but may be any value)
  • SearchCount - Maximum number of Customers to return.  The smaller the number the better, for performance.
  • Set the Google Maps Key on the Script line in GoogleMasterPage.master

The syntax to override these properties is as follows:

Public Overrides ReadOnly Property FieldName() As String '04/18/08 tsc renamed.

   Get

      Return "Show on Map"

   End Get

End Property

 

Public Overrides ReadOnly Property FieldValue() As String

   Get

      Return "False"

   End Get

End Property

 

Public Overrides ReadOnly Property SearchCount() As Integer

   Get

      Return 1000

   End Get

End Property