Jump to content

Recommended Posts

Hi. I tried deploying a map mashup page on my wordpress site, however the pointers are not automatically loading (need to push "View On Map".

Any hints on getting this to load automatically? All other functions seem to work fine.

 

Here is page content:

 

<script type="text/javascript" src="//static.caspio.com/mashup/script/caspio_mashups_v7.js"></script>
<script type="text/javascript">
var mapSettings = {
    'mapType': 'G',
    'mapView': 'R',
    'mapWidth': '800',
    'mapHeight': '600',
    'mapCssStyle': '',
    'useAutoZoom': 'N',
    'zoomLevelResult': '12',
    'zoomLevelDetails': '11',
    'zoomLevelMapIt': '16',
    'bubbleOpenType': '1',
    'disableScrollWheel': 'N',
    'showTrafficLayer': 'N',
    'plotMarkers': 'Y',
    'homePosition': '',
    'apiKey': 'AIzaSyBqfh2i7yZcbWaf0TSCCJ9BubQm6ufrl48'
};
var dpSettings_7dd850009504c2f4eff343fbb70f = new mapDataPageSettings('7dd850009504c2f4eff343fbb70f');
dpSettings_7dd850009504c2f4eff343fbb70f.DefaultIcon = '//static.caspio.com/mashup/icons/flat/icon6.png';
dpSettings_7dd850009504c2f4eff343fbb70f.DefaultIconWidth = '20';
dpSettings_7dd850009504c2f4eff343fbb70f.DefaultIconHeight = '34';
dpSettings_7dd850009504c2f4eff343fbb70f.MapItEnabled = 'Y';
dpSettings_7dd850009504c2f4eff343fbb70f.MapItLabel = 'View on map';
dpSettings_7dd850009504c2f4eff343fbb70f.FilterNeed = 'N';
dpSettings_7dd850009504c2f4eff343fbb70f.FilterRowSize = '5';
mapEnvironment.AddDataPageMapSettings(dpSettings_7dd850009504c2f4eff343fbb70f);
</script>
[caspio method="embed" subdomain="true" url="https://c2arw401.caspio.com" appkey="7dd850009504c2f4eff343fbb70f" async="true"]
<div id="map"></div>

Link to post
Share on other sites
  • 1 year later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...