These pages make use of the Map system from Google and their JavaScript API.
I have implemented a system where the visitor can create their own category which starts with a map centred on the location of their choice. They can also specify the type of map to use and the magnification/zoom level. They can then add map pins to the map. Each pin also has a label associated with it that appears in the right hand column and acts as a named label/link to the info window. Clicking on the map pin or its associated label will check the position of the map and open an info window for the location. This info window can contain a header, some text and a link to another web page. The web paged link will open in another browser window.
The system begins with the Miscellaneous map with it's own pins and labels.
Clicking on a pin will open its info window which will give further details about the location. The info window can also contain a link to another web page.
Each pin on the map also has a label in the 'Items' section to the right of the map. Clicking on this label opens the associated info window pointing to the marker pin. If the label referrs to a pin that is not displayed in the current map view then the map will scroll until the pin is within the displayed map and then display the info window.
There are 4 ways of moving about the maps, but it depends on which type of map you are viewing.
The scale of the map can be changed by using the slider control on the left of the map.
The column to the right of the map contains details of the category being displayed. At the top of this section is a drop-down selection list of the available categories. Clicking on the down arrow to the right of the current selection will display a window containing the available category names. Select one of the categories and release the mouse button. The selected category, its map, pointers and labels will then be displayed.
If a suitable category does not exist for the map and markers that you would like to see then a new category can be created.
Click on the 'New Category' button to open a default map. Move the map around (zoom in if neccessary) and click on the point that is to be the centre of the map associated with the new category. Once you have clicked on the map the text boxes will appear for you to enter details of the category. Please note that for security reasons the text that can be entered is limited to alphanumeric, + and -.
I have not added any edit functions because of questions about who should be able to edit the details? Should only the creator of a category be allowed to edit the details? If 'Yes' then I will need to record who created the category. If you find that you would like the details changing - a different map centre, a different zoom level or different text then get in touch and I will make the changes for you. You can get in touch using this page.
When viewing a particular category map a visitor can add a new marker to the map and the item list.
Click on the 'New Marker' button to open an empty map that uses the centre, type and zoom level of the current category.
Move the map around (zoom in if neccessary) and click on the location for the new marker. Once you have clicked on the map the text boxes will appear for you to enter details of the marker. Please note that for security reasons the text that can be entered is limited to alphanumeric, + and -.