Jump to content

Search the Community

Showing results for tags 'map'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Caspio Bridge
    • General Questions
    • Caspio JavaScript Solutions
    • Tables, Views and Relationships
    • Import/Export and DataHub
    • DataPages
    • Deployment
    • Security, Authentications, Roles, SAML
    • Styles and Localizations
    • Parameters
    • API and Integration
    • Calculations and aggregations
    • User JavaScript and CSS Discussions

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


MSN


Website URL


ICQ


Yahoo


Skype


Location


Interests

Found 7 results

  1. I am using the map mash up to display the locations of different ports using there coordinates but the markers are showing the wrong locations. For example, Houston in american is 95.02 W 29.61 N but the marker is being placed in the middle of China? Any suggestions would help Thanks, Shannon
  2. 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>
  3. Hi Everyone, I would like to share a solution on how to generate geolocation coordinates on Update/Details datapages. My solution based on following HowTo article: http://howto.caspio.com/tech-tips-and-articles/advanced-customizations/tech-tip-generating-geolocation-coordinates-from-web-form-submissions/ Please use this JS instead of the one from step #3 of above article: </div><script type='text/javascript'> var lat_id = 'EditRecordlat'; var lng_id = 'EditRecordlng'; var address_id = 'EditRecordAddress'; var city_id = 'EditRecordCity'; var state_id = 'EditRecordState'; var zip_id = 'EditRecordZip'; var wrapper_id = 'cbwrapper'; var msg1 = 'Please input a valid address'; if(typeof jQuery != 'undefined'){ var cb_geocoder = cb_geocoder = new google.maps.Geocoder(); $('#'+wrapper_id+' input[id=Mod0EditRecord]').click(function(e){ e.preventDefault(); var add = $('#'+address_id).val(); var city = $('#'+city_id).val(); var state = $('#'+state_id).val(); var zip = $('#'+zip_id).val(); if(!add || !city || !state || !zip){ alert(msg1); }else{ var full = add +','+city+','+state+' '+zip; cb_geocoder.geocode({address: full}, cbCallBack); } }); }else{ document.write('This Datapage require Standard Caspio Deployment for full functionality.'); } function cbCallBack(locResult){ if(locResult != "" && locResult.length>0){ var lat1 = locResult[0].geometry.location.lat(); var lng1 = locResult[0].geometry.location.lng(); lat1 = Number(lat1); lng1 = Number(lng1); $('#'+lat_id).val(lat1); $('#'+lng_id).val(lng1); $('#'+wrapper_id+' form').submit(); }else{ alert(msg1); } } </script>
  4. I've added a map to my datapage, but when it displays the script that was added to the html block displays on the data record and the map does not function. Is there a step I missed in the map mashup instructions? I gone through it several times with the same results.
  5. Does anyone know how to display in a search report page a map alongside search results, where the search results list x number of results but the map displays all the results? I.e the points on the map display all results (e.g. 500 points on the map), but the results in the list below display just 10 results per page, and the user can scroll through them. The map we are trying to implement will have hundreds of points on it, but I do not want a list of hundreds of results below it.
  6. How can I get direction to an address which is saved in my Caspio table.
  7. I'm trying to plot locations based on lat and long. I configured the parameters for the lat and long field as described in the Map Mashup Guide. The datapage runs fine before I try to insert the html for the map. Once I insert the html on the Configure Results, and Configure details, and insert the html on the webpage there are two errors: 1. No locations are shown on the map 2. Where there would normally be the the 'click to map field' there is some code. I've tried this several different ways and keep getting this result when I try to map using lat and long. When using addresses, everything deploys fine. Please see attached screenshot. Thanks, Will
×
×
  • Create New...