Template Tag to render map

OR Template file




These are the options for the OR search_result page when the tag: {addon_transparentmaps_area_searchresults} is present in its selected template file. This map will display a marker pin for any listings within a defined distance from the current listing being viewed. The alternate tag: {addon_transparentmaps_area_searchresults_link} will place a link instead of a map which when clicked will open a Map in a popup window or the same window depending on the Use Popup setting.  

Note: These tags must be placed within the {search_result_dataset} {/search_result_dataset} template block in your search results template.

See line #32 in this example:

 	<div class="result_row_{row_num_even_odd}">
 		<div class="sr_image">
			<a href="{link_to_listing}" title="{listing_title}"><img src="{raw_image_thumb_1}" alt="" /></a>
		<div class="sr_fields">
			<div class="sr_listing_title">
				<a href="{link_to_listing}" title="{listing_title}">{listing_title}</a>
			<div class="sr_fields_row">
					<div >
						<span>{field_caption_1}:</span> {field_1}
						<span>{field_caption_2}:</span> {field_2}
					<div >
						<span>{field_caption_3}:</span> {field_3}
						<span>{field_caption_4}:</span> {field_4}
 			<div class="sr_textarea">

Use Popup? - When you use the {addon_transparentmaps_area_searchresults_link} tag, do you want it to open in a popup window (yes) or in the existing window? (no)

Width: - The width of your map (and the popup window if used)

Height: - The height of your map (and popup window if used)

Small Controls? - Would you like to use small map controls on your map (Yes) or large controls (No)?

Show Map Scale? - Would you like to show the map scale bar in the lower left corner of the map?

Distance: - Distance (in miles) to display properties in the area (don't set this too high or you may get too many results)

Zoom Level: - Zoom level for the map. Higher value is a closer zoom, 0 is the farthest out you can zoom.

Show All Classes: - Should the map show listings from all property classes or only the same property class as the listing being viewed?

Show Map Type? - Select all map types that you would like to have available for the user to select.

Default Maptype: - The default type of map to load the map with

Find Directions? - Allow users to find directions to a listing?

Street View Overlay? - Display the street view overlay on the map?

Display Street View Panoramic Image? - Where do we display the street view panoramic image? (You will want this set to either Info Window or External Div if you turn on the street view overlay.)

KML Overlay: - Create custom overlays from KML files. Enter the url to the KML file, for multiple KML files comma sperate the URLS.

Auto Zoom: - Controls the zoom level the map is displayed once all the markers are loaded. You can either set a fixed zoom level, using the "Standard Zoom" levels, allow the map to auto zoom to the closest possible detail level using "Auto Zoom", or have the map display a set number of levels back from the closest possible level, using the "Auto Zoom minus X level" options.

(added in TMAPS v3.2)

Enable Marker Clustering: - When enabled, map marker pins that are of close proximity to each other when zoomed out will be grouped together until the user zooms-in. Useful for maps that will display a lot of pins, or for locations that all have the same street address.

Marker Style: - Selects the style of custom marker pins/icons to use, default is "Classic". Custom Marker icon sets are located in the /addons/transparentmaps/icons folder.

Note: the Icon Width and Icon Height of the marker icons must be set to match on the Global Settings Tab..