Tuesday, 6 August 2013

Maps Not Showing

Maps Not Showing

I purchased a Map to use on Magento 1.7.2. I am having problems getting it
to work on CMS Page Called Maps. The maps has two java files mapdata.js
and namap.js and a command The Map.
I put the The Map in the the CMS Page called Map in Content part of the
cms page. I have also added the java include files to the "Update Layout
XML" like so:
<reference name="head">
<action method="addItem">
<type>skin_js</type>
<name>js/mapdata.js</name>
<params/>
</action>
</reference>
<reference name="head">
<action method="addItem">
<type>skin_js</type>
<name>js/namap.js</name>
<params/>
</action>
</reference>
You can find the page here: http://www.webstertoolbox.com/index.php/maps
The map site installer is here: http://simplemaps.com/docs/typical-install
I know the XML is loading the java files because when I view the source
the two files are there. I know its reading the div as well because its
show "The Map" on the page. I also created a folder called map_images in
the same location of the js files. Now I have tested the map myself on my
local browser and it worked fine. Looking at Googles Inspect I see there 4
errors but not sure why or how to fix them. Could any please tell my why
this isn't working?
Thanks,
Frank

No comments:

Post a Comment