WordPress.org

Ready to get started?Download WordPress

Forums

Pronamic Google Maps
[resolved] Custom markers (10 posts)

  1. c001os
    Member
    Posted 2 years ago #

    Hi!

    First of all, this is a great plugin, thx!

    My Question:
    Is there any way to use with these plugin a custom markers assigned to custom post types? I was searching in the previous topics, but i cant find the answer.

    Thanks!

    http://wordpress.org/extend/plugins/pronamic-google-maps/

  2. c001os
    Member
    Posted 1 year ago #

    Was totaly stupid question! Sorry, now i can read :)

  3. haije
    Member
    Posted 1 year ago #

    Sorry, where did you find the answer and how...? I need custom markers to different custom post types too.

  4. c001os
    Member
    Posted 1 year ago #

    <?php
    
    if(function_exists('pronamic_google_maps_mashup')) {
        pronamic_google_maps_mashup(
            array(
                'post_type' => 'post'
            ) ,
            array(
                'width' => 300 ,
                'height' => 200 ,
                'map_type_id' => 'satellite' ,
                'marker_options' => array(
                    'icon' => 'http://google-maps-icons.googlecode.com/files/photo.png'
                )
            )
        );
    }
    
    ?>

    The 'marker options' set the custom icon

  5. c001os
    Member
    Posted 1 year ago #

  6. Remco Tolsma
    Member
    Plugin Author

    Posted 1 year ago #

  7. c001os
    Member
    Posted 1 year ago #

    @Remco Tolsma: Yout example is working with post categories? Can you post me a little example? It would be a great help!

    Thank You

  8. c001os
    Member
    Posted 1 year ago #

    Allright, I see, sorry! Great help! Thank You, and grat plugin!

  9. Remco Tolsma
    Member
    Plugin Author

    Posted 1 year ago #

  10. haije
    Member
    Posted 1 year ago #

    Thanks a lot guys! :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags