Codeigniter Google Maps API V3 Toggle Markers |
[eluser]balboa_1990[/eluser]
I am using codeigniter and this library file to display the google map settings: https://github.com/BIOSTALL/CodeIgniter-...lemaps.php In my header the js is displayed as this: Code: <?php echo $map['js']; ?> model: Code: function get_coordinates() { Code: public function index() { I am trying to add a toggle feature in the view so if you click the bar button, the bar markers show and so on. I am having difficulty grabbing the marker id and types to even start this due to the js being stored in a variable and when i relocate the js to a file it keeps refreshing so it removes my code. Does anyone have any idea with this library to add a toggle feature in as i cant even do a click event and alert anything out! I am attempting something similar to this without the sidebar: http://www.geocodezip.com/v3_MW_example_categories.html Just unsure of where and how to edit and keep what i write as the js variable keeps changing it! Thanks! |
Welcome Guest, Not a member yet? Register Sign In |