1. REGISTRATION REQUIREMENTS:

    Register with your xenforo.com Username then start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Implemented Google Maps API integration for Showcase Items (Category Pages)

Discussion in 'Showcase Closed Suggestions' started by DerTobi75, Feb 1, 2016.

  1. DerTobi75

    DerTobi75 New Member SC Premium

    Hi,

    will there be also a embedet Google Map for Category Pages, ie. show all items on a map from a certain category?

    Best regards.

    Tobi
     
    electrogypsy likes this.
  2. Joe Link

    Joe Link New Member AMS Premium CAS Premium RMS Premium SC Premium UBS Premium

    Any mapping additions or improvements are valuable in my application. Watching this :)
     
  3. electrogypsy

    electrogypsy New Member AMS Premium SC Premium

    Agreed, I would definitely like to see something like this in the future ☺
     
  4. Bob

    Bob Developer Staff Member

    This functionality is currently being tested in RMS (Review Management System) and will be implemented in Showcase at some point. Those of you that have an EA license which gives you access to my private development site can read more information about this in the RMS Forums (and can see it in action via the RMS Demo).

    Update: This has been implemented in Showcase 2.9.0 Beta 1.
     
    Last edited: Oct 11, 2017
  5. Bob

    Bob Developer Staff Member

    A few notes on this.

    This functionality depends on multiple Google Maps APIs.

    The Embed API is required for Individual Maps on Showcase Item pages. This functionality has been in Showcase for a few years now.

    The JavaScript API is required for the Category Map itself.

    The Geocoding API is used by the Item DataWriter to retrieve precise GeoCode data that is used by the JavaScript API for plotting points on the Map.

    NOTE: Both the JavaScript API and Geocoding API are METERED APIs. If you have a busy site, you may need to be prepared to get premium API keys from Google (or setup a payment plan to cover usage beyond the free limits).

    Selection_148.png

    This is a PER CATEGORY Feature. There are NO Global Options (besides the API Keys). All settings that control the Map on a specific Category Page are set in the Category Management for EACH INDIVIDUAL CATEGORY. Below is a screen shot of the available options.

    Selection_147.png

    Here is an example of what a Category Map looks like along with what the Marker Info Window looks like when all the options are enabled for it.

    NOTE: Map markers respect any FILTERS that are being applied, so if you FILTER by Featured, then only map markers for Items that are "featured" will be displayed on the Map.

    Selection_149.png
     
  6. electrogypsy

    electrogypsy New Member AMS Premium SC Premium

    @Bob this is really great, thank you for including this feature. is it possible to show a map with locations from all categories on the home page? could i copy the template code from the category maps and change it to include all categories and embed that on the index/home page for showcase? thanks!
     
  7. Bob

    Bob Developer Staff Member

    In theory, it would be possible to development functionality similar to the Category Maps for SC Home (non modular layout), however, it would require quite a bit of programming.

    No. Templates don't FETCH content, they display fetched content. Most of what needs to be done to do something like this is PHP programming.
     
  8. electrogypsy

    electrogypsy New Member AMS Premium SC Premium

    ah, gotcha. well thank you for the quick answer! would it be reasonable to put this in as a feature request? i read somewhere that you're not really doing any more feature upgrades for the xf 1.x addons and moving on to developing these addons for xf 2.
     
  9. Bob

    Bob Developer Staff Member

    Pretty much any and all suggestions at this point would only be considered for XF2 versions of my addons.

    If you plan on staying on XF1 for awhile (like a couple years or more), then I'd pursue custom development.
     
  10. electrogypsy

    electrogypsy New Member AMS Premium SC Premium

    nah, im just waiting to make the move to xf2 when AMS/showcase becomes available for it :)
     
    Bob likes this.
  11. Bob

    Bob Developer Staff Member

    AMS 2.0 should be available to EA license holders within the next month or 2. Im just working on the last 2 major features (pages and series) and then its beta testing time.
     
    Eric, Matt C. and electrogypsy like this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.