var map;
function createMarker(point,html,icon) {
var marker = new GMarker(point,icon);
GEvent.addListener(marker, "click", function() {
marker.openInfoWindowHtml(html);
});
return marker;
}
function showAddress(address,html,icon) {
if (geocoder) {
geocoder.getLocations(
address,
function(point) {
if (point.Status.code != 200) {
//alert(address + " not found");
} else {
place = point.Placemark[0];
GeoPointRec = new GLatLng((place.Point.coordinates[1]),(place.Point.coordinates[0]));
var marker = new createMarker(GeoPointRec,html,icon);
map.addOverlay(marker);
} } );
} }
function load() {
if (GBrowserIsCompatible()) {
map = new GMap2(document.getElementById("gglMap"));
map.addControl(new GSmallMapControl());
map.addControl(new GMapTypeControl());
map.setCenter(new GLatLng(30.059586,-98.096924), 8);
geocoder = new GClientGeocoder();
var icon = new GIcon();
icon.image = "http://www.texpts.com/images/gglmarker.png";
icon.iconSize = new GSize(20, 19);
icon.iconAnchor = new GPoint(20, 19);
icon.infoWindowAnchor = new GPoint(10, 12);
GeoPointRec = new GLatLng(29.547864,-98.475937);
var marker = new createMarker(GeoPointRec,'
TexPTS - Blossom Center Area
1218 Arion Parkway
San Antonio, TX 78216
Phone: 210-447-9550
Fax: 210-447-9552
',icon);
map.addOverlay(marker);
GeoPointRec = new GLatLng(29.798906,-98.427756);
var marker = new createMarker(GeoPointRec,'TexPTS - Bulverde
184 Creekside Park
Spring Branch, TX 78070
Phone: (830) 980-4565
Fax: (830) 980-4586
',icon);
map.addOverlay(marker);
GeoPointRec = new GLatLng(29.718624,-98.105985);
var marker = new createMarker(GeoPointRec,'TexPTS - Central Office
1324 Common Street
New Braunfels, TX 78130
Phone: 830-625-7310
Fax: 830-625-3228
',icon);
map.addOverlay(marker);
GeoPointRec = new GLatLng(29.718624,-98.105985);
var marker = new createMarker(GeoPointRec,'TexPTS - New Braunfels
1324 Common Street
New Braunfels, TX 78130
Phone: (830) 625-7310
Fax: (830) 625-3228
',icon);
map.addOverlay(marker);
GeoPointRec = new GLatLng(29.852302,-97.94757);
var marker = new createMarker(GeoPointRec,'TexPTS - San Marcos 1
1305 Wonder World Drive
San Marcos, TX 78666
Phone: 512-878-2835
Fax: 512-878-2858
',icon);
map.addOverlay(marker);
GeoPointRec = new GLatLng(29.852302,-97.94757);
var marker = new createMarker(GeoPointRec,'TexPTS - San Marcos 2
2550 Hunter Road
San Marcos, TX 78666
Phone: 512-396-5122
Fax: 512-396-5123
',icon);
map.addOverlay(marker);
GeoPointRec = new GLatLng(29.574362,-98.324246);
var marker = new createMarker(GeoPointRec,'TexPTS - Selma
8335 Agora Parkway
Selma, TX 78154
Phone: (210) 658-8483
Fax: (210) 658-0828
',icon);
map.addOverlay(marker);
GeoPointRec = new GLatLng(30.272207,-97.793584);
var marker = new createMarker(GeoPointRec,'TexPTS - South Austin (formerly South Austin Therapy Group)
4701 Westgate Boulevard
Austin, TX 78745-1479
Phone: 512-892-5250
Fax: 512-892-7183
',icon);
map.addOverlay(marker);
GeoPointRec = new GLatLng(30.273307,-97.798584);
var marker = new createMarker(GeoPointRec,'Town & Country - Bee Caves
3201 Bee Caves Road
Austin, TX 78746
Phone: 512-306-8071
Fax: 512-306-8518
',icon);
map.addOverlay(marker);
GeoPointRec = new GLatLng(30.304607,-97.743583);
var marker = new createMarker(GeoPointRec,'Town & Country - Central Park
3701 North Lamar
Austin, TX 78705
Phone: 512-302-3922
Fax: 512-302-3921
',icon);
map.addOverlay(marker);
GeoPointRec = new GLatLng(30.407912,-97.745492);
var marker = new createMarker(GeoPointRec,'Town & Country - North/Balcones Woods
5114 Balcones Woods Drive
Austin, TX 78759
Phone: 512-794-8863
Fax: 512-795-0688
',icon);
map.addOverlay(marker);
GeoPointRec = new GLatLng(30.440147,-97.663421);
var marker = new createMarker(GeoPointRec,'Town & Country - Pflugerville
1420 Wells Branch Parkway
Pflugerville, TX 78660
Phone: 512-670-3238
Fax: 512-670-3241
',icon);
map.addOverlay(marker);
GeoPointRec = new GLatLng(30.272207,-97.793584);
var marker = new createMarker(GeoPointRec,'Town & Country - Westgate
4534 Westgate Blvd.
Austin, TX 78745
Phone: 512-892-7337
Fax: 512-892-7339
',icon);
map.addOverlay(marker);
}
}