Page 1 of 1
Custom Marker
Posted: 21 Nov 2008, 13:33
by markk
Hello Guys,
First of all i want too thank u for the great component u build!
My Question: is it possible too make a custom marker for the google maps integration? ATM there is the standaard red marker but i would like too use my own one!
Thanks in advance for the help!
Mark
Re: Custom Marker
Posted: 21 Nov 2008, 17:15
by Jan
Hi, it is possible if you change the google javascript code:
components\com_phocagallery\views\categories\tmpl\default_map.php
components\com_phocagallery\views\category\tmpl\default_geotagging.php
Jan
Re: Custom Marker
Posted: 24 Nov 2008, 11:44
by markk
thanks for your reply!
But what do i need too change in those files? I cant find anything that reffers too the marker icon that google maps uses.. could u help me and lead me into the right direction?
Oh yea and i would like too report a bug too be solved in the next version of ur component just too pay my 2cents

When i use the Geotagging map thing that it shows the categories in a Map the page title doesnt gets shown, this is because of missing the following PHP code in views/categories/default_map.php:
Code: Select all
<?php
if ( $this->params->def( 'show_page_title', 1 ) ) { ?>
<div class="componentheading<?php echo $this->params->get( 'pageclass_sfx' ); ?>">
<?php echo $this->params->get('page_title'); ?>
</div>
<?php } ?>
Re: Custom Marker
Posted: 24 Nov 2008, 19:39
by Jan
Ok, I will fix it for the next version...
Google Marker - I don't know the method, you should find this method in Google Maps API (to change the marker... Phoca Gallery uses standard marker so there are no needed any changes in Google javascript)
Jan