WordPress.org

Ready to get started?Download WordPress

Forums

Google Maps Widget
[resolved] Version 0.60: curl_init() Error for Lightbox Zoom Over 14 (6 posts)

  1. ifedi
    Member
    Posted 1 year ago #

    This plugin worked quite impressively.
    That was until I needed to increase the Lightbox zoom above the default of 14.
    Then it returns something like:

    Fatal error: Call to undefined function curl_init() in C:\Program Files (x86)\...

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

  2. WebFactory
    Member
    Plugin Author

    Posted 1 year ago #

    As the error says - you don't have the CURL PHP module. It's unfortunately required to use the plugin.

  3. ifedi
    Member
    Posted 1 year ago #

    Hmmm...
    I went straight to php.ini and enabled the CURL extension, and BAM! The map came to life. Thank you very much.
    Still I must ask this: How come this problem arose only at zoom over 14? Does it mean that the CURL extension is not required for lower zooms?

  4. WebFactory
    Member
    Plugin Author

    Posted 1 year ago #

    Glad you got it working.
    Map locations for zoom levels of up to 14 can be defined via an address. For higher zoom levels it has to be done via lat/lng coordinates. Since users always enter only an address we have to convert it to coordinates via Google's Geo API and hence the need for CURL. Yes, it's as illogical as it sounds :)

  5. ifedi
    Member
    Posted 1 year ago #

    Thanks for the explanation.
    And thanks for a great plugin.
    Just suggesting: I'm sure it'll come across much easier, if you could 'catch' the absence of this extension, then issue a more meaningful message when the selected zoom is over 14.
    I'm totally sure you have this on the to-do list!:)
    Again, thank you very much.

  6. WebFactory
    Member
    Plugin Author

    Posted 1 year ago #

    You're welcome! As soon as we switch to the new Maps API we'll have that warning :)

    If you find the time, please rate the plugin. It helps us out a lot. Thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic