1. We suggest you do NOT update to Joomla 3.8.10 until we can resolve an issue it causes with caching in Fabrik. If you do install it, you'll need to disable Joomla's "System Cache" in the global System settings.
  2. Apologies for the recent server outage, a planned migration by our host provider to a new location turned into a bit of a nightmare.

Yahoo map plugin

Discussion in 'Plugins' started by mirceat, Jan 28, 2009.

  1. mirceat

    mirceat Member

    Level: Community
    Hello

    I try to convert existing google map plugin to yahoo map because google doesn't show street names for Romania. What i've done so far is to rename/change almost all info about google with yahoo.

    What i need to know is:

    Is this link correct to call API? http://local.yahooapis.com/MapsService/V1/mapImage&appid=


    I attach file i use it for elements

    Thank you
     

    Attached Files:

  2. cheesegrits

    cheesegrits Support Gopher Staff Member

    Level: Professional
  3. rob

    rob Administrator Staff Member

    Level: Community
    there is a openstreetmap element plugin in the SVN. Im 99% sure this will allow you to use the yahoo maps overlay

    Rob
     
  4. mirceat

    mirceat Member

    Level: Community
    Thank you

    Unfortunately, there is a problem, i don't see any map (i try with both Google and Yahoo api keys)

    I see this error in Firebug:

    Code (Text):
    osm_getTileURL is not defined
    (?)()()javascript.js (linia 9)
    returns()()mootools.js (linia 2)
    returns()()mootools.js (linia 2)
    htmlElement()(function())mootools.js (linia 5)
    removeEvent()("domready", function())mootools.js (linia 4)
    initialize()("jos_fabrik_aplicatii_magazine___harta", Object splitter=|-| editable=true defaultVal=44.25,26.7:6)javascript.js (linia 1)
    chain()()mootools.js (linia 9)
    implement()()mootools.js (linia 8)
    (?)()()3 (linia 9)

    [IMG]chrome://firebug/content/blank.gif[/IMG]                    type: 'png', getURL: osm_getTileURL,
     
    and this:

    Code (Text):
    docProto is undefined
    AttachMozillaCompatibility()(Window 3)atlascompat.js (linia 2)
    atlascompat.js()()atlascompat.js (linia 6)

    [IMG]chrome://firebug/content/blank.gif[/IMG]        __proto__ : docProto.__proto__
     
     
  5. rob

    rob Administrator Staff Member

    Level: Community
    sorry about that the plugin wasn't including a required javascript file. I've fixed this in the svn now - let me now if it works for you

    cheers
    rob
     
  6. mirceat

    mirceat Member

    Level: Community
    Thank you for help, Rob

    It's working now (on a fresh installation of Joomla, doesn't display with other plugins/components installed, a conflict maybe?), but for what i see, i would like to solve/have this:

    1. Map (any map i use) doesn't keep longitute and latitude specified in plugin
    2. Can't set marker on mouse click. I have to "drag" mouse over map to desired location
    3. It is possible to set a default map, other than OpenLayer VMS? In my case, i need Yahoo to be default. That because users might not see the "button" from right where they can select which map to use
    4. I will use this map to show our company stores location. It is possible to use store address to set a marker in map? Let's say one store address is Country, City, Street. Can i mark it on map automaticaly?
    5. In table i see longitute and latitude for each store, it is possible to see a static map? (could be already possible, but not in my local website)
     
  7. cheesegrits

    cheesegrits Support Gopher Staff Member

    Level: Professional
    Rob ...

    Looks like openlayers_ext.js is missing from SVN. It's in the 2.0b3 ZIP, but doesn't seem to be in either the regular fabrik2 or the new fabrik_plugins SVN.

    -- hugh
     
  8. rob

    rob Administrator Staff Member

    Level: Community
    thanks hugh Ive added that now to the normal svn.

    @mircat
    1 should work now
    2 no you need to drag the icons, clicks are the start of the action to drag the map so placing the marker on click will be akward
    3 Yes you can now
    4 No this currently isnt possible - its on the todo list for 2.1
    5should work now as well
     
  9. mirceat

    mirceat Member

    Level: Community
    Well, some features work, some not:

    my longitude and latitude are Bucharest, Romania, 44, 25 N, 26, 7 E, East Europe. But default longitute show somewhere in Atlantic Ocean, near by Golf of Guinea :) Information are not keep even after edit, i'm still in the "ocean" :)

    something crash IE6 or make this load very very hard (might be openlayers, problem doesn't appear before update com_fabrik/libs folder)

    table map size does not take values; i set to be 100/50 but still have other values, see below (i see that x and y does not take desired values also)

    PHP:
    <img style="margin: 0px; padding: 0px; -moz-user-select: none; position: absolute; cursor: pointer; width: 256px; height: 256px; z-index: 0; left: -156px; top: 75px; visibility: visible;" src="http://us.maps1.yimg.com/us.tile.maps.yimg.com/tl?v=4.2&x=7&y=-1&z=14"/>


    thank you
     
  10. mirceat

    mirceat Member

    Level: Community
    a little bump here :) SVN 1162, still have problems from above
     
  11. cheesegrits

    cheesegrits Support Gopher Staff Member

    Level: Professional
    We're currently only working on 'core' features, so non-core plugin issues are being punted till after we get RC1 out (at least). So openstreetmaps is currently a "work in progress", "as-is" proposition.

    I'm not even raising tickets on non-core stuff right now.

    So bump this thread once we get RC1 out.

    -- hugh
     
  12. mirceat

    mirceat Member

    Level: Community
    Congratulations for RC1! :D
     
  13. cheesegrits

    cheesegrits Support Gopher Staff Member

    Level: Professional
    OK, give us a few more days to get the teething troubles with RC1 sorted out. There's a lot of "other stuff" we have to sort out as well as just the ZIP, it'll be another day or two before we can relax (a relative term!) and start looking at non-core issues.

    -- hugh
     
  14. mirceat

    mirceat Member

    Level: Community
    Sorry to bump again...any news about this plugin? I try google map plugin and, except few small problems posted here, this kind of plugin i need, but for OpenStreets or better, for Yahoo Map

    The problems are:

    1. Locations are not kept, i'm still somewhere in the Atlantic Ocean :)
    2. Yahoo (all type of views) and Open Street layer display a white area with control in top left
    3. Static map is not visible in table


    Thank you
     
  15. mirceat

    mirceat Member

    Level: Community
    Hello

    Please don't shoot, but i really need this plugin :)
     
  16. rob

    rob Administrator Staff Member

    Level: Community
    hi


    try updating to the latest svn - i've had a go at fixing these issues :)

    P.s. everytime someone says "don't shoot me" i think of this story:


    A Panda walks into a restaurant, and orders dinner. He then gets up takes out a gun and shoots into the air and walks out without saying a word.
    The next day the panda returns to the bar and orders restaurant. This time the waiter says

    "I hope you aren't going to shoot up in the air again like yesterday?"

    The panda pulls out a natural history book and reads from it:

    "Pandas - large mammal which eats shoots and leaves"
     
  17. mirceat

    mirceat Member

    Level: Community
    Thank you very much for help..just a "small" problem: now i can see small map in table rows but i dont' see any map when i edit row or click on view details, so i can't tell you if other problems was solved :) I try in IE6, FF3, Chrome..
     
  18. rob

    rob Administrator Staff Member

    Level: Community
    lol not really a small problem - i dont see this can you clear your browser cache and refresh the page. if you still dont see the map can you tell me what js errors occur? (use firebug in firefox for this)

    rob
     
  19. mirceat

    mirceat Member

    Level: Community
    Here are the errors

    OpenLayers is not defined
    js.php?js=1f0712644d4c1e0b4db15952dca6598f.js()()js.php?j...a6598f.js (linia 3)
    [Break on this error] });

    fabrikPackage is not a constructor
    (?)()4 (linia 5)
    [Break on this error] var oPackage = new fabrikPackage({"liveS.../\/salesintranet\/","mooversion":1.1});

    MochaScreens is not a constructor
    (?)()()4 (linia 4)
    [Break on this error] document.mochaScreens = new MochaScreens();
     
  20. cheesegrits

    cheesegrits Support Gopher Staff Member

    Level: Professional
    Re: "OpenLayers is not defined"

    Oh, so nothing major then. LOL!

    -- hugh
     

Share This Page