Integrating Google Maps in a CFDIV?
Hi,
I played around with the Google Maps API and I like it a lot.
I found the excellent cf_googlemaps custom tag at riaforge.com and
that worked like a charm. I was (and still am) ready to get some
mapping done.
Unfortunately, integrating a Google map in a CFDIV (or a
CFLAYOUT, CFPOD, etc. for that matter) results in an error. An
otherwise perfectly good call to a Google Map just keps throwing
the JS error and I can't seem to fix it. In fact, I am not even
getting closer... :-( This is the error:
"Error processing JavaScript in markup for element
centerpanel: [Enable debugging by adding 'cfdebug' to your URL
parameters to see more information]"
I tried stripping the code down to the bare minimum that will
render a map (straight from the Google Map API pages examples), but
the result was the same... zip...
I expect somebody else must have run into this at one point,
as this API has been around for a while and so had CF8. Any of you
people heard what might solve this? I am not copying any code into
this post just yet, as I do not think it is in my code, but if that
will help, I will do so.
Thnx for your time and efforts :-)
Jasper Grannetia
The Hague
The Netherlands
I haven't yet used the tag. It looks quite interesting.
I had a look at the
cf_googleMap
Documentation out of curiosity. Apparently, putting
<cf_googlemapshow/> at the end, just before the closing body
tag, solves a number of Javascript issues.
Similar Messages
-
Integrating Google Maps in Oracle Apex and 404 Not found error page
Currently using APEX version 3.2.0.00.27 installed in OracleXE version 10.2.0.1.0. Have been attempting to recreate some examples of Google Maps within APEX. Found a nice set of examples here that build up to what I'm looking to ultimately do by incorporating google maps into APEX:
http://blog.whitehorses.nl/2009/10/04/integrating-google-maps-in-oracle-apex/
Unfortunatly, I'm getting the "404 Not Found, Not found, The requested URL /apex/wwv_flow.accept was not found on this server" page when I try to recreate the "Map with Search" example. I'd like to see if this really works using the html input and button tags in the body/region source versus creating APEX items to pass the address values to the javascript in the html header of the apex page. I'm thinking it's just an html thing within APEX that you have to do it a certain way, but I haven't managed to hit that magic combination. have gone to the google maps api v2 and looked at the html they use (it's what these examples with apex are based on) and tried that just to see. Same 404 result.
I've seen suggestions at this forum and elsewhere that the 404 error is due to a bug. have been to metalink, and really haven't seen anything that spells out what the bug is and how to patch it or work around it. May be I just haven't found the right note/doc yet. have seen suggestions to change something associated with the Anonymous account that APEX uses. Have turned on authentication in the application to use an APEX user account with a logon page to the application. Still get the 404. Although, I have not adjusted anything elsewhere, like a DADS config file, because the apex/xe configuration is using the plsql gateway. Not sure of any procedure for changing settings on anonymous account when using plsql gateway.
Open to suggestions. APEX 3.2 is customer version, so going to 4 may not be an option yet. XE, on the other hand, can certainly be swapped for an 11g version standard or enterprise edition if need be. I don't think this is a db version problem though. I think it's more on the APEX side of things.
Anyway, any help or suggestions are appreciated.
thanks
rtp
Edited by: RTP on Jun 24, 2011 10:30 AMHi I have the same problem.... if you found the solution, please put it here to see it... I need a solution to this its urgent!!
Thanks!! -
Over query limit while integrating google maps
Hi
I am getting over query limit error when i want to display more than 11 records while integrating google maps in obiee. I can display upto 11 records in the map.If i increase the row limit its throwing the error.
Error: Geocode was not succesfull for the following reason: Over_query_limit
How to overcome this error,in order to fetch more than 11 records in the map?
I have only two columns in the report
state code || No.Of Customers
In narrative view i have the following code
Replace ?!? with <
Prefix part
?!?script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false">
?!?/script>
?!?script type="text/javascript">
var geocoder;
var map;
function initialize() {
geocoder = new google.maps.Geocoder();
var latlng = new google.maps.LatLng(37.4219720, -122.0841430);
var myOptions = {
zoom: 8,
center: latlng,
mapTypeId: google.maps.MapTypeId.ROADMAP
map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);
GetMapAdress ();
function showAddress(address,comment) {
if (geocoder) {
geocoder.geocode( { 'address': address}, function(results, status) {
if (status == google.maps.GeocoderStatus.OK) {
map.setCenter(results[0].geometry.location);
var marker = new google.maps.Marker({
map: map,
position: results[0].geometry.location
var infowindow = new google.maps.InfoWindow({
content:comment
google.maps.event.addListener(marker, 'click', function() {
infowindow.open(map,marker);
} else {
alert("Geocode was not successful for the following reason: " + status);
function GetMapAdress (){
Narrative:
showAddress('@1', ' No Of customers are @2');
Postfix part:
?!?/script>
?!?script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js" type="text/javascript">?!?/script>
?!?script type="text/javascript">
$(document).ready( function(){initialize();return false;});
?!?/script>
?!?body onunload="GUnload()">
?!?div id="map_canvas" style="width: 800px; height: 700px" > ?!?/div>
?!?/body>
This gives the count as per the state in the google map, if we click a state it will show us the count, but its holding good only for 11 records in the map
Appreciate your responseI haven't yet used the tag. It looks quite interesting.
I had a look at the
cf_googleMap
Documentation out of curiosity. Apparently, putting
<cf_googlemapshow/> at the end, just before the closing body
tag, solves a number of Javascript issues. -
Integrated google Map on SAP Work Manager 6.0
Hi
I am new in agentry and worked on SAP Work Manager App. I want to put customized map in Agentry and show some workorder on that map.
Can anyone give me any suggestion regarding it.
Thanks
Mohit TyagiHi
Can any one help me for putting map on SAPWM 6.0 . and i am working on SMP 2.3.So please give me suggestion how can i achieve this problem. and is it possible to put map on SAPWM 6.0 without integration any API?
Thanks
Mohit Tyagi -
Integrating google maps in obiee 10g
i am using IE and after filling the boxes in narrative view in preview it is showing "retrieving view"...
but even after long time it displays nothing...
do help me.
any help is appreciated.HI,
Refer the below links.
http://wentari.blogspot.in/2011/03/obiee-10g-and-google-chart-api-maps.html#!/2011/03/obiee-10g-and-google-chart-api-maps.html
http://www.peakindicators.com/index.php/knowledge-base/68-mapping-capabliity-with-oracle-bi-ee-faqs
Hope this help's
Thanks,
Satya -
Google Map integration in SAP BO Explorer
Hi All.
I would want to integrate Google Maps with SAP BO Explorer. Is there any standard functionality (Out of box solution) available for this in SAP BO Explorer?
Please let me know the step by step procedure for this? If there is no standard functionality available in SAP BO explorer for integrating google maps please let me know the plugins required please. Thank You in advance
Regards
SamiHi Atul.
Thank you for the link.
It says " SAP Business Objects Explorer mobile app for the iPad, can be integrated with Google Maps. "
I would want to know the following.
Does integrating Google Maps with SAP BO Explorer for IPAD/Mobile based version is a standard functionality in SAP BO explorer? Or we need to go for additional plug in?
2.Same question for web based version of SAP BO explorer as well
3.If it is not a standard (Out of box functionality) of SAP BO explorer please let me know the plugins / third party add ins required for integrating Google Maps with SAP BO Explorer (Both web based and IPAD/Mobile version).
Regards
Sami -
I built a map with Google Maps Engine Pro - http://www.jmbcompanies.com/Services/Mitigation/map.
It showcases territories using a Google map polygon shape. I wrote custom KML to create it. However, with Google Maps Engine pro you cannot create custom hyperlinks. It will link a URL that you put in the data, but you cannot name it or target the parent window, so therefore it opens a new tab for each click to more details. I really want it to open the WebApp detail page for that item within the same window.
So, is there a way to use the BC integrated Google maps technology and show polygons instead of points on the map? I've used {module_webappsmap,20754,a} to place individual locations on a map, but what about territories or polygon areas?
I'm sure that I can create a WebApp to generate the KML for each placeholder. But how do I turn that into a map?
THANKS!!You can not create a kml file in BC through webapps. Modules do not work in other file types and you do not have server code access to generate a file type of results.
You need to use the google API and do this yourself or you can just use this:
And embed it into a custom field. My Maps -
Remove Zoom scale of Google maps in OBIEE 11g Mapviewer
Hi,
While integrating Google maps with OBIEE 11.1.1.6.0 , we are able to see two Zoom scales one for BI layer and another for Base map layer (Google Map).
When we select the former Zoom scale (BI Layer) , our views have been placed in exact countries. But when we select latter one, only base map i.e., Google map is zooming without upholding the views(Color fill,Image,Bar Graph,etc.,).
So is there any way to bring synchronization between two layers with one zoom scale.
Kindly help me to sort out this issue.
Thanks in advance!Will require backport of a fix for mapviewer (oraclemaps.js) that has to be part of the OBIEE patchset.
Filing a bug would help the process. -
Centigon has a nice new tool for integrating Google maps into Xcelsius - however it costs about $1K and it requires the expensive Google maps premier license. Anyone have ideas on other ways to use Google maps or Virtual Earth for showing data within Xcelsius? Thanks very much. User reaction is poor to my built in continent map with little hand placed icons over the countries in which we do business - can't blame them after using Google or Microsoft mapping products.
Are they looking for interactivity, or simply a better looking picture?
One suggestion I could offer is to use is XComponents. They are really a great free alternative:
http://xcomponents.blogspot.com/2008/07/xcelsius-www.html
I hope that helps!
Thanks,
Brian -
Storing google maps direction in database
Hello,
I have integrated google maps in flex application. When I give source and destination the map will give the route path.
and it will display the route path also like turn right and left like that. I want to store the entire route path information as it is in the database. Will it be possible?
Can any one please help me?
Thanks in advanceHi,
You can send result of GMap result to the server-side(JAVA/ anything ) as plain object. While saving to database you have to take care of dataType should be BLOB(binary large object)
please refer following links for more detail:
http://codeofdoom.com/wordpress/2009/02/18/intro-to-google-maps-api-for-flex/
http://flex.sys-con.com/node/361222?page=1
Thanks -
Google Map Integration with Map Viewer is not working
Hi Team,
My MapViewer Version: Ver11_1_1_7_B130111
I have created a Google Map (with Type of Map Source as "Google Maps") in Oracle Map Viewer and i could see google map in Oracle Map Viewer(using "show Map").
I wanted to show a village map theme over the above google map in a web page and i am using Jdeveloper to integrate map viewer with Village data. I could see the google maps inside Jdeveloper however when i run the Jdeveloper code google map is not shown inside the web page.
I tried with Oracle Maps, Bing Maps as the "map source" in map viewer and tried integrating inside Jdeveloper and got same result (blank screen). However when i tried a different mapviewer ( Base Map ELOCATION.WORLD_MAP from OracleFMW MapViewer Home ) i could see the map in the web page.
I could get all other base maps (created with "internal" as the map source") in the web page, so there is some thing that i am missing with Google Maps, Bing Maps, Oracle Maps. Could you please help me what is that i am missing or point to a help resource?
Thanks
NagHi Jayanth,
Issue is solved after creating the web page using latest JDeveloper (11.1.2.4). Thanks a lot for your help
With Regards
Nag -
Integration from calendar with google map???
I find it weird that these arent integrated or am I missing something? I cant set up a location in calendar events to link to google map. I have tried the notes section as well as the location section. No integration anyone knows?
Hi there,
You will want to look at these great answers from two of my faves
Bill & Hailey
https://supportforums.cisco.com/thread/2056557
https://supportforums.cisco.com/thread/2096981
Cheers!
Rob
PS: you should also talk to your Cisco SE and AM to see what's coming down the pipe. -
Hi,
I was trying to display Google map as an iframe. This integration used to work earlier well and I am trying to debug this but I have heard that there has been some changes on the Google side where it is preventing Google Map to open inside other applications.
Has anybody faced such a problem ? Any conformation on this info.
Thank you :-)Hi,
My answer for your questions is *"No"*!
See the following examples:
http://seizetruth.com/Tech/GoogleMaps/EmbeddedIFrame.html
http://designshack.net/articles/html/embedding-google-maps-into-a-web-page-a-beginners-guide/
http://support.google.com/mapsengine/bin/answer.py?hl=en&answer=2571663
May help.
;) -
Help with BC and Google maps integration
Hi, I am considering going for the paid option of BC so that I can have access to the web apps. But before I go ahead, I have a few questions for someone who may be able to help.
I am building the site on adobe muse - this is not the latest version of muse as I am working on an windows 7 computer. Would all the BC web apps work on the site for all it is not the latest version?
Also, the thing I am really interested in is the ability to do an interactive map, building pins etc at the back end - is there any tutorials that anyone can point me to to help possibly with styling of say the little pop up box? I have watched the AID+BC muse and BC dynamic duo webinar on aidbc already, but wondered if there was more tutorials that would help.
Also, is it possible to use a stylized map, or do you have to go with the default google map? If you can use a stylized map, how do you add this to the BC web app.
Sorry for so many questions, but need to know before I make the leap onto a paid BC option.
Many thanks for anyone who can help
MicheleHI Michelle,
Muse can not and does not utilise or have access to all that BC is. It does not give you access to the layouts and things like eCommerce and Web apps in the full ability sense. You can build interactive maps with the google API, web apps as the source of data, using the address lat and long or geo location ability etc But its not something you can do really Muse on its own. -
Siebel Integration with Google Maps
Hi
Is there any posiibility to Integrate Siebel with Google maps
Currently i am Working in Siebel Version 8.0
With Google Maps we are able to drop pins on the locations of customers and use to Know the Minimum travel time (Shortest Distance) set calling patterns, receive directions etc.
As i mentioned above,how can we integrate the Siebel with Google Maps
if anybody has worked on this, plz let me know the Details / Provide where i can gather the Information
Thanks & Rgds
PrasadI can't stop to wonder, if this:
http://www.google.com/search?hl=en&q=%22Google+Maps%22+siebel&aq=f&oq=
is really too much to ask?
The two first hits are "Google Maps in Siebel for dummies".
Axel
Maybe you are looking for
-
Difference between Frame order and service order
Hello guys, Can anybody tell me the difference between the Frame order and work order in system point of view? Which are the steps for doing the
-
HOW DO you FIND PASSWORD for Time capsule?
How do I find the password for a time capsule
-
What is the most convenient way to downgrade tons of Apple lossless tracks?
I have many thousands of songs encoded in Apple lossless. Since it's eating up my hard disk space I stopped importing CD's that way, however I'm stuck with thousands of huge files I'd like to batch downgrade. Also, I have most of those in playlists a
-
History accelerator key behavior
Version 1.5.1 After posting the latest update the behavior of the ctrl-up arrow and down arrow has changed from replace to append in the sql worksheet. Can this be changed back to replace? Thanks Bob
-
hi, can we put the functionality of "at new" in alvs?how