Account Field/R15/Google Maps
Hi,
I have created a custom field within my Account tab where I can click on it and it brings up google maps home page. Is there a way where I can click in it, it goes to that accounts specific address, perhaps by searching by postcode?
Here is the code i used to do this: make sure you generate your own key and replace the "Generate you own here Here......."
<!-- ++Begin Map Search Control Wizard Generated Code++ -->
<!--
// Created with a Google AJAX Search Wizard
// http://code.google.com/apis/ajaxsearch/wizards.html
-->
<!--
// The Following div element will end up holding the map search control.
// You can place this anywhere on your page
-->
<div id="mapsearch">
<span style="color:#676767;font-size:11px;margin:10px;padding:4px;">Loading...</span>
</div>
<!-- Maps Api, Ajax Search Api and Stylesheet
// Note: If you are already using the Maps API then do not include it again
// If you are already using the AJAX Search API, then do not include it
// or its stylesheet again
// The Key Embedded in the following script tags is designed to work with
// the following site:
// https://secure-ausomxava.crmondemand.com/
-->
<script src="http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAyhjLIPCU-WLQ4xDoNATtchTJK5JjK72bh36r4oLas1iLhwGkfxQ_W19ceeYQ50K1LgBm4QbvTw1mow"
type="text/javascript"></script>
<script src="http://www.google.com/uds/api?file=uds.js&v=1.0&source=uds-msw&key=(Generate you own here Here......."
type="text/javascript"></script>
<style type="text/css">
@import url("http://www.google.com/uds/css/gsearch.css");
</style>
<!-- Map Search Control and Stylesheet -->
<script type="text/javascript">
window._uds_msw_donotrepair = true;
</script>
<script src="http://www.google.com/uds/solutions/mapsearch/gsmapsearch.js?mode=new"
type="text/javascript"></script>
<style type="text/css">
@import url("http://www.google.com/uds/solutions/mapsearch/gsmapsearch.css");
</style>
<style type="text/css">
.gsmsc-mapDiv {
height : 275px;
.gsmsc-idleMapDiv {
height : 275px;
#mapsearch {
width : 700px;
margin: 10px;
padding: 4px;
</style>
<script type="text/javascript">
function LoadMapSearchControl() {
var options = {
zoomControl : GSmapSearchControl.ZOOM_CONTROL_ENABLE_ALL,
title : "%%%First Name%%% %%%Last Name%%%",
url : "www.maps.google.com.au",
idleMapZoom : GSmapSearchControl.ACTIVE_MAP_ZOOM,
activeMapZoom : GSmapSearchControl.ACTIVE_MAP_ZOOM
new GSmapSearchControl(
document.getElementById("mapsearch"),
"%%%Personal_ADDR_Address1%%%,%%%Personal_ADDR2_Address2%%%,%%%Personal_PROVINCE_Province%%%,%%%Personal_CITY_City%%%,%%%PERSONAL_LIST_ZIP%%%,%%%Personal_COUNTRY_Country%%%",
options
// arrange for this function to be called during body.onload
// event processing
GSearch.setOnLoadCallback(LoadMapSearchControl);
</script>
<!-- ++End Map Search Control Wizard Generated Code++ -->
Similar Messages
-
hiiiii
me installed google maps in my device it is installed sucessfully but when i open the application it getting error that is
Network unavailable :this application requires a data
Connection ,and some blackberry devices require reconfiguration to work
property . please visit www.google.com/gmm
on your computer for info.
Please help me what should i do now...........satish4ru wrote:
Network unavailable :this application requires a data
Connection ,and some blackberry devices require reconfiguration to work
property . please visit www.google.com/gmm
on your computer for info.
You must have a BlackBerry Data Plan on your mobile service provider account to use Google Maps on the BlackBerry. You need to call your carrier and enable the correct data plan.
1. If any post helps you please click the below the post(s) that helped you.
2. Please resolve your thread by marking the post "Solution?" which solved it for you!
3. Install free BlackBerry Protect today for backups of contacts and data.
4. Guide to Unlocking your BlackBerry & Unlock Codes
Join our BBM Channels (Beta)
BlackBerry Support Forums Channel
PIN: C0001B7B4 Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA Display/Scan Bar Code -
A browser issue with Google Maps Street View
My apologies in advance if this is not right forum for my question, but I have a lot of respect and admiration for many of the posters in this forum.
I use Safari, Firefox, and Opera 10 from my regular account to view Google Maps. I then select Street View by clicking on the thumbnail pic. The street view goes all dark.
I log in to my guest account and it works fine from all three browsers. So, my conclusion is that there is something hosed in my account that affects all three browsers. What is it and how do I fix it?
I am running Snow Leopard.
Thanks.
Roberto
Message was edited by: Roberto Sepúlveda
Message was edited by: Roberto SepúlvedaIf you remove the Arial fonts from /User/Library/Fonts and get into Google Maps Street View, it works.
Then, if you put the fonts back where they were, it still works.
Go figure.
Thanks to BillMacP that figured it out in the Using Snow Leopard forum.
http://discussions.apple.com/message.jspa?messageID=10147543#10147543
Roberto -
How to find direction for address using google map
Hi all,
Please help me solve this .
i want to see the (way)direction from office to account address in google map below each each contact details.
i created a Account Web Applet, it is showing account address correctly
http://maps.google.com/?q=%%%Bill_To_ADDR_Address1%%%,+%%%Bill_To_CITY_City%%%,+%%%Bill_To_COUNTRY_Country%%%
But i want to see the direction from office, ..
Thanks in Advance.
[email protected]
Uthaya.Hello,
This is what you have to use as an example
http://maps.google.com/maps?f=d&source=s_d&saddr=Collins+Street,+Melbourne,+Victoria,+Australia&daddr=Elizabeth+Street,+Melbourne,+Victoria,+Australia
h5. This is the from address
Collins+Street,+Melbourne,+Victoria,+Australia
h5. This is the end location
Elizabeth+Street,+Melbourne,+Victoria,+Australia
What you will need to do is relace these values with %%%Bill_To_Addr_Address1%%% and so on -
Find direction for address using google map using web Applet.
Hi all,
Please help me solve this .
i want to see the (way)direction from office to account address in google map below each each contact details.
i created a Account Web Applet, it is showing account address correctly
http://maps.google.com/?q=%%%Bill_To_ADDR_Address1%%%,+%%%Bill_To_CITY_City%%%,+%%%Bill_To_COUNTRY_Country%%%
But i want to see the direction from office, ..
Thanks in Advance.
[email protected]
Uthaya.Hello,
This is what you have to use as an example
http://maps.google.com/maps?f=d&source=s_d&saddr=Collins+Street,+Melbourne,+Victoria,+Australia&daddr=Elizabeth+Street,+Melbourne,+Victoria,+Australia
h5. This is the from address
Collins+Street,+Melbourne,+Victoria,+Australia
h5. This is the end location
Elizabeth+Street,+Melbourne,+Victoria,+Australia
What you will need to do is relace these values with %%%Bill_To_Addr_Address1%%% and so on -
Hello Folks,
i have requirement of auto-search in ui5 project.For that i have used sap.m.input control and register in controller like below:
onInit : function() {
var g = this.getView().getController();
/*Input field defined in view.xml*/
var areaInpt = g.byId(sap.ui.core.Fragment.createId("photos",
"autoComplete"));
/*autoComplete Instance*/
autoText = new google.maps.places.Autocomplete($("#"+areaInpt), {
types : [ 'geocode' ]
But when page load it was showing undefined is not function.And when i commented above autoText line then error is not coming.
NS: i am using following api : https://maps.googleapis.com/maps/api/js?v=3.exp&libraries=places
Below is the screenshot for same:I have the same question. Anybody has an answer for this?
Grant -
Google Maps Autocomplete field not working inside WebView
I am using a WebView to display Google Maps and the web page includes a "text" element which is a google.maps.places.Autocomplete control.
The maps themselves work perfectly but the Autocomplete field does not do the actual auto-completing. That is, as I type into it, it does not show a drop-down list of all matching locations although it does return the correct coordinates of any place I type in completely.
The same web page and the Autocomplete control work perfectly when I load them into a standard web browser.
Has anyone experienced this? How do I go about debugging this issue? Any suggested solutions?Try jdk8: http://jdk8.java.net/download.html
If it still doesn't work, file a bug: https://forums.oracle.com/forums/ann.jspa?annID=1713
If it is a bug in the WebView implementation, use HostServices.showDocument to show the document in a standard browser until the bug is fixed:
http://docs.oracle.com/javafx/2/api/javafx/application/HostServices.html#showDocument(java.lang.String) -
Adding Google Maps to 'location' field
Has anyone come up with a way to easily link an iCal Event's location to a Google Map? Seems an obvious thing to do.
I see that Google Calendar has this as a facility but cannot see an iCal plugin that offers a similar function.Here is what I do, but I am sure you have already thought about it.
I go to google maps and find the location, then paste the url and back in ical, in the event, copy it in the url field of that event. Not great, not automatic, but better than nothing, and that helps me when I want to send invites for that event, as the url is embedded, or when I recall that event and just click on the url to immediately open a page in my browser for the map.
hope this helps -
Hi,
I am currenly developing application implementing Google Map sharing with Adobe LCCS and Flex for Android. I have a problem building the shared model of the google map, is there anyone who could show me any example regarding this as I could'nt found any. Any help is appreciated. Thx.
Regards
TanI didn't manage to get the Yahoo Map example running, so I went through it to get the important script to build the google map sharing. My source folder has only 3 files which i think suppose to be able to generate the Google Map.I login straight using my developer account.Below is the full list of log messages and I attached along the three scripts I've written...
Log messages:
[SWF] GoogleMap.swf - 2,651,420 bytes after decompression
Tue Mar 8 04:56:58 GMT+0800 2011 LCCS SDK Version : 1.3.7.1 Player Version : WIN 10,1,85,3
04:56:58 GMT+0800 requestInfo https://collaboration.adobelivecycle.com/yytan1987/myfirstroom?mode=xml&glt=g:&x=0.5164360 296912491
[SWF] /mapsapi/publicapi - 4,125 bytes after decompression
[SWF] /mapfiles/lib/map_1_20.swf - 317,303 bytes after decompression
[SWF] /mapsapi/publicapi - 790 bytes after decompression
04:57:08 GMT+0800 authentication status: 200
04:57:08 GMT+0800 authentication request complete
04:57:08 GMT+0800 requestInfo https://collaboration.adobelivecycle.com/yytan1987/myfirstroom?gak=cmVuZ2EqbmExcioxMmU5MjF iZjY0MSpKRDVETTdBM1pON1NTQVQwN0JWUjBCNTY5Qw==&mode=xml&x=0.6678212475962937
04:57:11 GMT+0800 #TicketService# ticket received: 26tkbnwc3t7z
04:57:11 GMT+0800 Getting FMS at https://na2.collaboration.adobelivecycle.com/fms?ticket=26tkbnwc3t7z&proto=rtmfp, attempt #1/3
04:57:12 GMT+0800 result: <fms>
<origin>fms2.acrobat.com</origin>
<proto_ports>rtmfp:1935,rtmps:443</proto_ports>
<retry_attempts>2</retry_attempts>
</fms>
04:57:12 GMT+0800 protocols: [object ProtocolPortPair],[object ProtocolPortPair]
04:57:12 GMT+0800 [attempt 1 of 2] Connecting to 0/1: rtmfp://fms2.acrobat.com/cocomo/na2-sdk-de21bd7d-e997-46a3-b4a2-33bf56efa416/myfirstroom #startProtosConnect#
04:57:14 GMT+0800 tempNetStatusHandler 0/2,NetConnection.Connect.Success
04:57:14 GMT+0800 isTunneling? false
04:57:14 GMT+0800 is using RTMPS? false
04:57:14 GMT+0800 RECEIVED LOGIN AT SESSION
04:57:14 GMT+0800 .user descriptor from server [object]
04:57:14 GMT+0800 \\
04:57:14 GMT+0800 .role [number]= 100
04:57:14 GMT+0800 .affiliation [number]= 100
04:57:14 GMT+0800 .userID [string]= WCD-2A9F0D364CAC939C0A746C1B/6
04:57:14 GMT+0800 .displayName [string]= YY Tan 6
04:57:15 GMT+0800 RECEIVENODES UserManager
04:57:15 GMT+0800 receiveAllSynchData UserManager
04:57:15 GMT+0800 RECEIVENODES FileManager
04:57:15 GMT+0800 receiveAllSynchData FileManager
04:57:15 GMT+0800 checkManagerSync:[object FileManager]
04:57:16 GMT+0800 RECEIVENODES AVManager
04:57:16 GMT+0800 receiveAllSynchData AVManager
04:57:16 GMT+0800 checkManagerSync:[object StreamManager]
04:57:16 GMT+0800 RECEIVENODES RoomManager
04:57:16 GMT+0800 receiveAllSynchData RoomManager
04:57:16 GMT+0800 checkManagerSync:[object RoomManager]
04:57:16 GMT+0800 checkManagerSync:[object UserManager]
04:57:17 GMT+0800 RECEIVENODES sharedMap
04:57:17 GMT+0800 receiveAllSynchData sharedMap
Error: MessageManager.getRootUserRole - This user doesn't exist.
at com.adobe.rtc.messaging.manager::MessageManager/http://www.adobe.com/2006/connect/cocomo/messaging/internal::getRootUserRole()[/Users/arun /Work/aponnusa_theoden.corp.adobe.com_1666/depot/branches/connect/1010/cocomoPlayer10/src/ com/adobe/rtc/messaging/manager/MessageManager.as:454]
at com.adobe.rtc.sharedModel::CollectionNode/getRootUserRole()[/Users/arun/Work/aponnusa_the oden.corp.adobe.com_1666/depot/branches/connect/1010/cocomoPlayer10/src/com/adobe/rtc/shar edModel/CollectionNode.as:883]
at com.adobe.rtc.sharedModel::CollectionNode/getUserRole()[/Users/arun/Work/aponnusa_theoden .corp.adobe.com_1666/depot/branches/connect/1010/cocomoPlayer10/src/com/adobe/rtc/sharedMo del/CollectionNode.as:471]
at com.adobe.rtc.sharedModel::CollectionNode/canUserConfigure()[/Users/arun/Work/aponnusa_th eoden.corp.adobe.com_1666/depot/branches/connect/1010/cocomoPlayer10/src/com/adobe/rtc/sha redModel/CollectionNode.as:593]
at SharedMapModel/onSyncChange()[C:\Users\Compaq\Adobe Flash Builder 4\GoogleMap\src\SharedMapModel.as:185]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at com.adobe.rtc.sharedModel::CollectionNode/http://www.adobe.com/2006/connect/cocomo/messaging/internal::setIsSynchronized()[/Users/ar un/Work/aponnusa_theoden.corp.adobe.com_1666/depot/branches/connect/1010/cocomoPlayer10/sr c/com/adobe/rtc/sharedModel/CollectionNode.as:700]
at com.adobe.rtc.messaging.manager::MessageManager/receiveAllSynchData()[/Users/arun/Work/ap onnusa_theoden.corp.adobe.com_1666/depot/branches/connect/1010/cocomoPlayer10/src/com/adob e/rtc/messaging/manager/MessageManager.as:851]
at com.adobe.rtc.messaging.manager::MessageManager/http://www.adobe.com/2006/connect/cocomo/messaging/internal::receiveItems()[/Users/arun/Wo rk/aponnusa_theoden.corp.adobe.com_1666/depot/branches/connect/1010/cocomoPlayer10/src/com /adobe/rtc/messaging/manager/MessageManager.as:596]
at com.adobe.rtc.session.managers::SessionManagerBase/receiveItems()[/Users/arun/Work/aponnu sa_theoden.corp.adobe.com_1666/depot/branches/connect/1010/cocomoPlayer10/src/com/adobe/rt c/session/managers/SessionManagerBase.as:456]
GoogleMap.mxml(main):
<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
xmlns:rtc="http://ns.adobe.com/rtc"
xmlns:maps="com.google.maps.*"
xmlns:ns2="*">
<maps:Map mapevent_mapready="onReady(event)" url="http://code.google.com/apis/maps/" id="map" width="100%" height="100%" key="ABQIAAAAa1d-LRFOUL0Fhv8VJsT-JhROcIOxpjBZUVD7XRlGFELYl3GNYxQIzt1g1Bnuf1QsKZfb47Zk7_c6 Bw" sensor="true" x="0" y="0"/>
<fx:Script>
<![CDATA[
import com.google.maps.LatLng;
import com.google.maps.Map;
import com.google.maps.MapEvent;
import com.google.maps.MapMoveEvent;
import com.google.maps.MapOptions;
import com.google.maps.MapType;
import com.google.maps.MapZoomEvent;
import com.google.maps.controls.ZoomControl;
import com.google.maps.overlays.Marker;
import com.google.maps.overlays.MarkerOptions;
import com.google.maps.styles.FillStyle;
import com.google.maps.styles.StrokeStyle;
import flash.events.GeolocationEvent;
import flash.sensors.Geolocation;
import flash.ui.Multitouch;
import flash.ui.MultitouchInputMode;
import mx.events.FlexEvent;
protected var _sharedMapModel:SharedMapModel;
private var zoomControl:ZoomControl = new ZoomControl();
private function onReady(e:MapEvent):void{
this.map.visible = false;
this.map.setCenter(new LatLng(45.468799,9.188004),14, MapType.NORMAL_MAP_TYPE);
addMapControls();
setupSharedMap();
private function addMapControls():void {
map.addControl(zoomControl);
private function removeMapControls():void {
map.removeControl(zoomControl);
private function setupMapListeners():void {
map.addEventListener(MapMoveEvent.MOVE_END, onMapMoveEnd);
map.addEventListener(MapZoomEvent.ZOOM_CHANGED, onMapZoom);
private function setupSharedMap():void {
_sharedMapModel = new SharedMapModel();
_sharedMapModel.subscribe("sharedMap");
_sharedMapModel.addEventListener("subscribe",onSubscribed);
_sharedMapModel.addEventListener("latLngChange",onPositionChange);
_sharedMapModel.addEventListener("zoomChange",onZoomChange);
private function onSubscribed(p_evt:Event=null):void {
_sharedMapModel.removeEventListener("subscribe",onSubscribed);
setupMapListeners();
this.map.visible = true;
private function onMapMoveEnd(event:MapMoveEvent):void {
_sharedMapModel.latLng = this.map.getCenter();
protected function onPositionChange(p_evt:Event=null):void {
this.map.removeEventListener(MapMoveEvent.MOVE_END, onMapMoveEnd);
this.map.setCenter(_sharedMapModel.latLng);
this.map.addEventListener(MapMoveEvent.MOVE_END, onMapMoveEnd);
private function onMapZoom(event:MapZoomEvent):void {
_sharedMapModel.zoom = this.map.getZoom();
protected function onZoomChange(p_evt:Event=null):void {
this.map.removeEventListener(MapZoomEvent.ZOOM_CHANGED, onMapZoom);
this.map.setZoom(_sharedMapModel.zoom);
this.map.addEventListener(MapZoomEvent.ZOOM_CHANGED, onMapZoom);
]]>
</fx:Script>
<fx:Declarations>
<rtc:AdobeHSAuthenticator id="auth"
userName="[email protected]"
password="password"
/>
</fx:Declarations>
<rtc:ConnectSessionContainer width="100%" height="100%"
roomURL="https://collaboration.adobelivecycle.com/yytan1987/myfirstroom"
id="cSession"
authenticator="{auth}">
</rtc:ConnectSessionContainer>
</s:WindowedApplication>
SharedMapModel.as:
package
import com.adobe.rtc.events.CollectionNodeEvent;
import com.adobe.rtc.events.SharedModelEvent;
import com.adobe.rtc.messaging.MessageItem;
import com.adobe.rtc.session.ConnectSession;
import com.adobe.rtc.sharedModel.Baton;
import com.adobe.rtc.sharedModel.CollectionNode;
import com.adobe.rtc.sharedModel.SharedCollection;
import com.google.maps.LatLng;
import flash.events.Event;
import flash.events.EventDispatcher;
import flash.events.IEventDispatcher;
public class SharedMapModel extends EventDispatcher
// fired when the position of the map has been changed
[Event(name="latLngChange", type="flash.events.Event")]
// fired when the zoom level of the map has been changed
[Event(name="zoomChange", type="flash.events.Event")]
// fired when the mode of the map (annotation or navigation) has been changed
[Event(name="modeChange", type="flash.events.Event")]
// fired when the contolling user of the map has been changed
[Event(name="batonChange", type="flash.events.Event")]
[Event(name="subscribe", type="flash.events.Event")]
protected var _latLng:LatLng;
protected var _zoom:int;
protected var _mode:String;
protected var _collectionNode:CollectionNode;
protected var _myUserID:String;
protected var _controllingUser:String;
protected var _baton:Baton;
public var markerCollection:SharedCollection = new SharedCollection();
protected static const LAT_LNG_NODE:String = "latLngNode";
protected static const ZOOM_NODE:String = "zoomNode";
protected static const MODE_NODE:String = "modeNode";
public function SharedMapModel(target:IEventDispatcher=null)
super(target);
[Bindable("subscribe")]
public function subscribe(p_uniqueID:String):void
_myUserID = ConnectSession.primarySession.userManager.myUserID;
// set up the collectionNode
_collectionNode = new CollectionNode();
_collectionNode.sharedID = p_uniqueID ;
_collectionNode.subscribe();
_collectionNode.addEventListener(CollectionNodeEvent.SYNCHRONIZATION_CHANGE, onSyncChange);
_collectionNode.addEventListener(CollectionNodeEvent.ITEM_RECEIVE, onItemReceive);
// set up the marker collection - CocomoCollection allows you to specify an existing
// collectionNode to use for messaging, so we'll have it piggy-back on the same
// collectionNode as the one our model uses (to reduce the number of destinations on server)
markerCollection.collectionNode = _collectionNode;
// use the userID field as the unique ID for each item in the collection
markerCollection.idField = "userID";
// use one node on our collectionNode for marker details
markerCollection.subscribe();
// set up the baton. we'll also have it piggy-back on our existing collectionNode.
_baton = new Baton();
_baton.sharedID = "mapControl" ;
_baton.timeOut = 5 ;
_baton.collectionNode = _collectionNode ;
_baton.subscribe();
_baton.addEventListener(SharedModelEvent.BATON_HOLDER_CHANGE, onBatonChange);
* Sets the position of the SharedMap model. Note that the value isn't updated until the resulting
* message returns from the service.
* @param p_val - the LatLon object corresponding to the map's position
public function set latLng(p_val:LatLng):void
// baton management - if I've got the baton already, then keep it for a while longer,
// if I don't but can grab it, do so. Otherwise, I'm not allowed to update this value.
if (_baton.amIHolding) {
_baton.extendTimer();
} else if (_baton.canIGrab) {
_baton.grab();
} else {
return;
// send a message (through our collectionNode) to the service to update the position.
// note that LAT_LON_NODE is configured to only store a single item (see onSyncChange),
// so only the last item published here gets stored
var msg:MessageItem = new MessageItem(LAT_LNG_NODE, {lat:p_val.lat, lng:p_val.lng});
_collectionNode.publishItem(msg);
[Bindable("latLngChange")]
public function get latLng():LatLng
return _latLng;
* Sets the zoom level of the SharedMap model. Note that the value isn't updated until the resulting
* message returns from the service.
* @param p_val - the LatLon object corresponding to the map's position
public function set zoom(p_val:int):void
// baton management - if I've got the baton already, then keep it for a while longer,
// if I don't but can grab it, do so. Otherwise, I'm not allowed to update this value.
if (_baton.amIHolding) {
_baton.extendTimer();
} else if (_baton.canIGrab) {
_baton.grab();
} else {
return;
// send a message (through our collectionNode) to the service to update the zoom level.
// note that ZOOM_NODE is configured to only store a single item (see onSyncChange),
// so only the last item published here gets stored
var msg:MessageItem = new MessageItem(ZOOM_NODE, p_val);
_collectionNode.publishItem(msg);
[Bindable("zoomChange")]
public function get zoom():int
return _zoom;
* Sets the mode (annotation or navigation) of the SharedMap model.
* Note that the value isn't updated until the resulting
* message returns from the service.
* @param p_val
public function set mode(p_val:String):void
// baton management - if I've got the baton already, then keep it for a while longer,
// if I don't but can grab it, do so. Otherwise, I'm not allowed to update this value.
if (_baton.amIHolding) {
_baton.extendTimer();
} else if (_baton.canIGrab) {
_baton.grab();
} else {
return;
// send a message (through our collectionNode) to the service to update the mode.
// note that MODE_NODE is configured to only store a single item (see onSyncChange),
// so only the last item published here gets stored
var msg:MessageItem = new MessageItem(MODE_NODE, p_val);
_collectionNode.publishItem(msg);
[Bindable("modeChange")]
public function get mode():String
return _mode;
* returns the userID of the user currently controlling the map
[Bindable("batonChange")]
public function get controllingUser():String
return _controllingUser;
* Fired when the collectionNode has fully connected to the service and retrieved all information
* about its nodes and stored message items. Note that this is typically the time when an OWNER sets up
* the node structure of any CollectionNodes, after the CollectionNode has synched and the OWNER notices
* it hasn't got the requisite nodes.
protected function onSyncChange(p_evt:CollectionNodeEvent):void
// if I'm the OWNER and there's no node defined for LAT_LON, create one.
// note we're using the default NodeConfiguration, which only stores one item and has default
// publish/subscribe permissions.
if (!_collectionNode.isNodeDefined(LAT_LNG_NODE) && _collectionNode.canUserConfigure(_myUserID)) {
_collectionNode.createNode(LAT_LNG_NODE);
// if I'm the OWNER and there's no node defined for ZOOM, create one.
if (!_collectionNode.isNodeDefined(ZOOM_NODE) && _collectionNode.canUserConfigure(_myUserID)) {
_collectionNode.createNode(ZOOM_NODE);
// if I'm the OWNER and there's no node defined for MODE, create one.
if (!_collectionNode.isNodeDefined(MODE_NODE) && _collectionNode.canUserConfigure(_myUserID)) {
_collectionNode.createNode(MODE_NODE);
* Fired when an item is received from the service (whether from the current user's updates
* or a remote one).
protected function onItemReceive(p_evt:CollectionNodeEvent):void
if (p_evt.nodeName==LAT_LNG_NODE) {
// the latlon has been updated. Update our model value, and fire an event to notify of the change
_latLng = new LatLng(p_evt.item.body.lat, p_evt.item.body.lng);
if (p_evt.item.publisherID!=_myUserID) {
dispatchEvent(new Event("latLngChange"));
} else if (p_evt.nodeName==ZOOM_NODE) {
// the zoom has been updated. Update our model value, and fire an event to notify of the change
_zoom = p_evt.item.body;
dispatchEvent(new Event("zoomChange"));
} else if (p_evt.nodeName==MODE_NODE) {
// the mode has been updated. Update our model value, and fire an event to notify of the change
_mode = p_evt.item.body;
dispatchEvent(new Event("modeChange"));
* Fired when the holderID of the baton changes. We update our model value and fire an event to notify of the change
protected function onBatonChange(p_evt:Event):void
_controllingUser = _baton.holderID;
dispatchEvent(new Event("batonChange"));
AfcsCollection.as:
package
import mx.collections.ArrayCollection;
import com.adobe.rtc.sharedModel.CollectionNode;
import com.adobe.rtc.messaging.NodeConfiguration;
import com.adobe.rtc.events.CollectionNodeEvent;
import com.adobe.rtc.messaging.MessageItem;
import mx.core.IUID;
import com.adobe.rtc.session.ConnectSession;
[Event(name="synchronizationChange", type="com.adobe.rtc.events.CollectionNodeEvent")]
public class AfcsCollection extends ArrayCollection
public function AfcsCollection(source:Array=null)
super(source);
public var collectionNode:CollectionNode;
protected static const ITEM_NODE:String = "itemNode";
protected var _nodeConfig:NodeConfiguration;
protected var _nodeName:String = ITEM_NODE;
protected var _myUserID:String;
* what field in each item can be used as a unique identifier?
public var idField:String;
* what class is each item?
public var itemClass:Class;
[Bindable("synchronizationChange")]
public function get isSynchronized():Boolean
if (collectionNode) {
return collectionNode.isSynchronized;
} else {
return false;
public function subscribe(p_uniqueID:String, p_nodeConfig:NodeConfiguration=null):void
_nodeConfig = (p_nodeConfig) ? p_nodeConfig : new NodeConfiguration();
_nodeConfig.itemStorageScheme = NodeConfiguration.STORAGE_SCHEME_MANUAL;
_myUserID = ConnectSession.primarySession.userManager.myUserID;
if (collectionNode==null) {
collectionNode = new CollectionNode();
collectionNode.sharedID = p_uniqueID ;
collectionNode.subscribe();
} else {
_nodeName = p_uniqueID;
collectionNode.addEventListener(CollectionNodeEvent.SYNCHRONIZATION_CHANGE, onSyncChange);
collectionNode.addEventListener(CollectionNodeEvent.ITEM_RECEIVE, onItemReceive);
collectionNode.addEventListener(CollectionNodeEvent.ITEM_RETRACT, onItemRetract);
override public function setItemAt(p_item:Object, p_index:int):Object
var oldItem:Object = getItemAt(p_index);
var msg:MessageItem = new MessageItem(_nodeName, p_item, getItemID(oldItem));
collectionNode.publishItem(msg, true);
return oldItem;
override public function addItem(p_item:Object):void
var msg:MessageItem = new MessageItem(_nodeName, p_item, getItemID(p_item));
collectionNode.publishItem(msg);
override public function removeItemAt(p_index:int):Object
var oldItem:Object = getItemAt(p_index);
collectionNode.retractItem(_nodeName, getItemID(oldItem));
return oldItem;
override public function removeAll():void
var l:int = length;
for (var i:int=l-1; i>=0; i--) {
removeItemAt(i);
protected function onSyncChange(p_evt:CollectionNodeEvent):void
if (!collectionNode.isNodeDefined(_nodeName) && collectionNode.canUserConfigure(_myUserID, _nodeName)) {
// this collectionNode has never been built, and I can add it...
collectionNode.createNode(_nodeName, _nodeConfig);
dispatchEvent(p_evt);
protected function onItemReceive(p_evt:CollectionNodeEvent):void
if (p_evt.nodeName!=_nodeName) {
return;
var newItem:Object = p_evt.item.body;
var itemID:String = (idField) ? newItem[idField] : newItem.uid;
var oldItem:Object;
var i:String;
// yes, this is ugly. Improve later
var l:int = length;
for (var idx:int=0; idx<l; idx++) {
if (itemID==getItemID(getItemAt(idx))) {
oldItem = getItemAt(idx);
break;
if (oldItem) {
// it's an item update
for (i in newItem) {
if (newItem[i]!=oldItem[i]) {
var tmpOldValue:Object = oldItem[i];
oldItem[i] = newItem[i];
itemUpdated(oldItem, i, tmpOldValue, oldItem[i]);
super.setItemAt(oldItem, idx);
} else {
// it's a brand new item
if (itemClass) {
// yeah, this wouldn't work if there are constructor args
var newItemTyped:Object = new itemClass();
for (i in newItem) {
newItemTyped[i] = newItem[i];
super.addItem(newItemTyped);
} else {
super.addItem(newItem);
protected function onItemRetract(p_evt:CollectionNodeEvent):void
if (p_evt.nodeName!=_nodeName) {
return;
var newItem:Object = p_evt.item.body;
var itemID:String = (idField) ? newItem[idField] : newItem.uid;
var oldItem:Object;
// yes, this is ugly. Improve later
var l:int = length;
for (var idx:int=0; idx<l; idx++) {
if (itemID==getItemID(getItemAt(idx))) {
oldItem = getItemAt(idx);
break;
if (oldItem) {
super.removeItemAt(idx);
protected function getItemID(p_item:Object):String
return (p_item is IUID) ? IUID(p_item).uid : p_item[idField] as String; -
Safari crashes 'unexpectedly' on google maps
Help!
Safari crashes eveytime I click google map page on my iBook (still running Panther well). I did repair permission and updated software, just quicktime, still no joy!!
I was wondering, anyone has any bright ideas.
cheers!!
Just to add the error report
Date/Time: 2008-02-28 16:48:22 +0000
OS Version: 10.3.9 (Build 7W98)
Report Version: 2
Command: Safari
Path: Safari
Version: 1.3.2 (312.6)
PID: 371
Thread: 0
Exception: EXCBADACCESS (0x0001)
Codes: KERNPROTECTIONFAILURE (0x0002) at 0x00000000Thanks for reply Hawaiian
Its a bit long report
Date/Time: 2008-02-28 18:28:02 +0000
OS Version: 10.3.9 (Build 7W98)
Report Version: 2
Command: Safari
Path: Safari
Version: 1.3.2 (312.6)
PID: 482
Thread: 0
Exception: EXCBADACCESS (0x0001)
Codes: KERNPROTECTIONFAILURE (0x0002) at 0x00000000
Thread 0 Crashed:
0 com.apple.JavaScriptCore 0x961d1bf8 compile_regex + 0x1ec
1 com.apple.JavaScriptCore 0x961d189c kjspcrecompile + 0x8c8
2 com.apple.JavaScriptCore 0x961e7fa4 ZN3KJS6RegExpC4ERKNS7UStringEi + 0xa4
3 com.apple.JavaScriptCore 0x961e7e24 ZN3KJS15RegExpObjectImp9constructEPNS_9ExecStateERKNS4ListE + 0x4c8
4 com.apple.JavaScriptCore 0x961c3270 ZN3KJS11NewExprNode8evaluateEPNS9ExecStateE + 0x2cc
5 com.apple.JavaScriptCore 0x961c9804 ZN3KJS14AssignExprNode8evaluateEPNS9ExecStateE + 0x28
6 com.apple.JavaScriptCore 0x961c00d4 ZN3KJS11VarDeclNode8evaluateEPNS9ExecStateE + 0x7c
7 com.apple.JavaScriptCore 0x961c4f28 ZN3KJS15VarDeclListNode8evaluateEPNS9ExecStateE + 0x44
8 com.apple.JavaScriptCore 0x961c2ec0 ZN3KJS16VarStatementNode7executeEPNS9ExecStateE + 0x80
9 com.apple.JavaScriptCore 0x961b9890 ZN3KJS18SourceElementsNode7executeEPNS9ExecStateE + 0x1f4
10 com.apple.JavaScriptCore 0x961c44d0 ZN3KJS9BlockNode7executeEPNS9ExecStateE + 0x88
11 com.apple.JavaScriptCore 0x961c08dc ZN3KJS19DeclaredFunctionImp7executeEPNS9ExecStateE + 0x2c
12 com.apple.JavaScriptCore 0x961bc620 ZN3KJS11FunctionImp4callEPNS_9ExecStateERNS_6ObjectERKNS4ListE + 0x1ac
13 com.apple.JavaScriptCore 0x961e5bd8 ZN3KJS6Object4callEPNS_9ExecStateERS0_RKNS4ListE + 0xac
14 com.apple.JavaScriptCore 0x961b7564 ZN3KJS16FunctionCallNode8evaluateEPNS9ExecStateE + 0x3a4
15 com.apple.JavaScriptCore 0x961ba840 ZN3KJS17ExprStatementNode7executeEPNS9ExecStateE + 0x80
16 com.apple.JavaScriptCore 0x961b9774 ZN3KJS18SourceElementsNode7executeEPNS9ExecStateE + 0xd8
17 com.apple.JavaScriptCore 0x961c44d0 ZN3KJS9BlockNode7executeEPNS9ExecStateE + 0x88
18 com.apple.JavaScriptCore 0x961dd228 ZN3KJS14InterpreterImp8evaluateERKNS_7UStringERKNS_5ValueES3i + 0x4e8
19 com.apple.JavaScriptCore 0x961ddc50 ZN3KJS11Interpreter8evaluateERKNS_7UStringEiS3_RKNS5ValueE + 0x40
20 com.apple.WebCore 0x945c0298 ZN12KJSProxyImpl8evaluateE7QStringiRKS0RKN3DOM4NodeE + 0xb8
21 com.apple.WebCore 0x945d26ec ZN9KHTMLPart13executeScriptE7QStringiRKN3DOM4NodeERKS0 + 0x90
22 com.apple.WebCore 0x946f5134 ZN5khtml13HTMLTokenizer15scriptExecutionERK7QStringS1i + 0x1c0
23 com.apple.WebCore 0x946f9898 ZN5khtml13HTMLTokenizer14notifyFinishedEPNS12CachedObjectE + 0x138
24 com.apple.WebCore 0x946106a4 _ZN5khtml12CachedScript11checkNotifyEv + 0x5c
25 com.apple.WebCore 0x94610614 _ZN5khtml12CachedScript4dataER7QBufferb + 0x154
26 com.apple.WebCore 0x946fb3cc _ZN5khtml6Loader12slotFinishedEPN3KIO3JobEP6NSData + 0x1ac
27 com.apple.WebCore 0x94737948 _ZNK9KWQSignal4callEPN3KIO3JobEP6NSData + 0x90
28 com.apple.WebCore 0x9473d584 -[KWQResourceLoader finishJobAndHandle:] + 0x3c
29 com.apple.WebKit 0x93cd8a00 -[WebSubresourceClient didFinishLoading] + 0x48
30 com.apple.WebKit 0x93cab324 -[WebBaseResourceHandleDelegate connectionDidFinishLoading:] + 0x34
31 com.apple.Foundation 0x90a6dd2c -[NSURLConnection(NSURLConnectionInternal) _sendDidFinishLoadingCallback] + 0x4c
32 com.apple.Foundation 0x90a3d1dc -[NSURLConnection(NSURLConnectionInternal) _sendCallbacks] + 0x1f8
33 com.apple.Foundation 0x90a27864 -[NSArray makeObjectsPerformSelector:withObject:] + 0x108
34 com.apple.Foundation 0x90a51a04 _sendCallbacks + 0xd4
35 com.apple.CoreFoundation 0x901c4800 __CFRunLoopDoSources0 + 0x1fc
36 com.apple.CoreFoundation 0x901c20b8 __CFRunLoopRun + 0x1b0
37 com.apple.CoreFoundation 0x901c69e4 CFRunLoopRunSpecific + 0x148
38 com.apple.HIToolbox 0x92886e10 RunCurrentEventLoopInMode + 0xac
39 com.apple.HIToolbox 0x9288d4b4 ReceiveNextEventCommon + 0xf4
40 com.apple.HIToolbox 0x928af638 BlockUntilNextEventMatchingListInMode + 0x60
41 com.apple.AppKit 0x92e62248 _DPSNextEvent + 0x180
42 com.apple.AppKit 0x92e78cc8 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 0x74
43 com.apple.Safari 0x0000bda0 0x1000 + 0xada0
44 com.apple.AppKit 0x92e8d048 -[NSApplication run] + 0x21c
45 com.apple.AppKit 0x92f49764 NSApplicationMain + 0x1d0
46 com.apple.Safari 0x00007fc4 0x1000 + 0x6fc4
47 com.apple.Safari 0x00054944 0x1000 + 0x53944
Thread 1:
0 libSystem.B.dylib 0x90007878 machmsgtrap + 0x8
1 libSystem.B.dylib 0x900073f8 mach_msg + 0x38
2 com.apple.CoreFoundation 0x901c2258 __CFRunLoopRun + 0x350
3 com.apple.CoreFoundation 0x901c69e4 CFRunLoopRunSpecific + 0x148
4 com.apple.Foundation 0x90a2d038 -[NSRunLoop runMode:beforeDate:] + 0xac
5 com.apple.Foundation 0x90a45c44 -[NSRunLoop run] + 0x4c
6 com.apple.WebKit 0x93cb5e6c +[WebFileDatabase _syncLoop:] + 0xa8
7 com.apple.Foundation 0x90a6a398 forkThreadForFunction + 0x6c
8 libSystem.B.dylib 0x90024930 pthreadbody + 0x28
Thread 2:
0 libSystem.B.dylib 0x90007878 machmsgtrap + 0x8
1 libSystem.B.dylib 0x900073f8 mach_msg + 0x38
2 com.apple.CoreFoundation 0x901c2258 __CFRunLoopRun + 0x350
3 com.apple.CoreFoundation 0x901c69e4 CFRunLoopRunSpecific + 0x148
4 com.apple.Foundation 0x90a2d038 -[NSRunLoop runMode:beforeDate:] + 0xac
5 com.apple.Foundation 0x90a45c44 -[NSRunLoop run] + 0x4c
6 com.apple.Foundation 0x90a97f0c +[NSURLConnection(NSURLConnectionInternal) _resourceLoadLoop:] + 0x20c
7 com.apple.Foundation 0x90a6a398 forkThreadForFunction + 0x6c
8 libSystem.B.dylib 0x90024930 pthreadbody + 0x28
Thread 3:
0 libSystem.B.dylib 0x9000b42c select + 0xc
1 com.apple.Foundation 0x90a22844 _loadRunLoop + 0xd4
2 libSystem.B.dylib 0x90024930 pthreadbody + 0x28
Thread 4:
0 libSystem.B.dylib 0x90007878 machmsgtrap + 0x8
1 libSystem.B.dylib 0x900073f8 mach_msg + 0x38
2 com.apple.CoreFoundation 0x901c2258 __CFRunLoopRun + 0x350
3 com.apple.CoreFoundation 0x901c69e4 CFRunLoopRunSpecific + 0x148
4 com.apple.Foundation 0x90a2d038 -[NSRunLoop runMode:beforeDate:] + 0xac
5 com.apple.Foundation 0x90a45c44 -[NSRunLoop run] + 0x4c
6 com.apple.Foundation 0x90a9844c +[NSURLCache _diskCacheSyncLoop:] + 0xa8
7 com.apple.Foundation 0x90a6a398 forkThreadForFunction + 0x6c
8 libSystem.B.dylib 0x90024930 pthreadbody + 0x28
PPC Thread State:
srr0: 0x961d1bf8 srr1: 0x0200f030 vrsave: 0x00000000
cr: 0x24222248 xer: 0x20000000 lr: 0x961d1b14 ctr: 0x961d1f5c
r0: 0xfff9a110 r1: 0xbfffd250 r2: 0x00000000 r3: 0xf9a11097
r4: 0x00000020 r5: 0x00000000 r6: 0x00000000 r7: 0x00000000
r8: 0x00000000 r9: 0xffffffff r10: 0x00000000 r11: 0x00000001
r12: 0x00000000 r13: 0x00000000 r14: 0x00000000 r15: 0x00000001
r16: 0x00000000 r17: 0xbffff5f0 r18: 0xbfffd340 r19: 0xbfffd75c
r20: 0x00000000 r21: 0xbfffd760 r22: 0xbfffd800 r23: 0x00000000
r24: 0x065eef68 r25: 0xbfffd740 r26: 0xbfffd758 r27: 0xbfffd754
r28: 0x00000000 r29: 0x00000800 r30: 0x065eef68 r31: 0x961d1a2c
Binary Images Description:
0x1000 - 0xcdfff com.apple.Safari 1.3.2 (312.6) /Applications/Safari.app/Contents/MacOS/Safari
0x4fb3000 - 0x4fb5fff com.apple.textencoding.unicode 1.6.4 /System/Library/TextEncodings/Unicode Encodings.bundle/Contents/MacOS/Unicode Encodings
0x57be000 - 0x57c0fff com.apple.PDFImporter 1.3.1 (???) /System/Library/Components/PDFImporter.component/Contents/MacOS/PDFImporter
0x806c0000 - 0x806e9fff libxslt.1.dylib /usr/lib/libxslt.1.dylib
0x80830000 - 0x8090efff libxml2.2.dylib /usr/lib/libxml2.2.dylib
0x80a50000 - 0x80ad4fff libstdc++.6.dylib /usr/lib/libstdc++.6.dylib
0x80c80000 - 0x80c88fff libgcc_s.1.dylib /usr/lib/libgcc_s.1.dylib
0x81eb0000 - 0x81eb3fff libmx.A.dylib /usr/lib/libmx.A.dylib
0x87e00000 - 0x87f36fff com.apple.vImage 1.2.0 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.fr amework/Versions/A/vImage
0x88be0000 - 0x88becfff com.apple.agl 2.5 (AGL-2.5) /System/Library/Frameworks/AGL.framework/Versions/A/AGL
0x8bde2000 - 0x8bdf2fff com.apple.Accelerate.vecLib 3.0.3 (vecLib 3.0.3) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/vecLib
0x8c70b000 - 0x8c7abfff com.apple.QuickTimeImporters.component 7.4.1 (14) /System/Library/QuickTime/QuickTimeImporters.component/Contents/MacOS/QuickTime Importers
0x8fd50000 - 0x8fd50fff com.apple.Accelerate 1.0.3 (Accelerate 1.0.3) /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x8fe00000 - 0x8fe4ffff dyld /usr/lib/dyld
0x90000000 - 0x9014ffff libSystem.B.dylib /usr/lib/libSystem.B.dylib
0x901c0000 - 0x9026efff com.apple.CoreFoundation 6.3.10 (299.39) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x902b0000 - 0x90529fff com.apple.CoreServices.CarbonCore 10.3.9 (558) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore
0x90584000 - 0x905d4fff com.apple.HIServices 1.4.1 (0.0.1d1) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ HIServices.framework/Versions/A/HIServices
0x90610000 - 0x9069afff com.apple.CoreServices.OSServices 3.0.1 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServi ces.framework/Versions/A/OSServices
0x90700000 - 0x90700fff com.apple.CoreServices 10.3 (???) /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x907b0000 - 0x907b9fff libz.1.dylib /usr/lib/libz.1.dylib
0x907c7000 - 0x907d2fff com.apple.securityhi 1.2 (90) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.fr amework/Versions/A/SecurityHI
0x907f0000 - 0x907f9fff com.apple.DiskArbitration 2.0.5 /System/Library/PrivateFrameworks/DiskArbitration.framework/Versions/A/DiskArbi tration
0x90810000 - 0x90810fff com.apple.ApplicationServices 1.0 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Application Services
0x90830000 - 0x9089ffff libobjc.A.dylib /usr/lib/libobjc.A.dylib
0x908c5000 - 0x908d5fff com.apple.vecLib 3.0.3 (vecLib 3.0.3) /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
0x9090f000 - 0x90923fff libCGATS.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib
0x90940000 - 0x909b3fff com.apple.DesktopServices 1.2.6 /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/Desk topServicesPriv
0x90a20000 - 0x90b7bfff com.apple.Foundation 6.3.11 (500.65) /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x90c60000 - 0x90cc2fff libGLU.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x90d00000 - 0x90d1bfff com.apple.SystemConfiguration 1.7.1 (???) /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfi guration
0x90d60000 - 0x90d6bfff com.apple.opengl 1.3.8 /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x90d70000 - 0x90d80fff com.apple.speech.recognition.framework 3.3 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecogni tion.framework/Versions/A/SpeechRecognition
0x90d8c000 - 0x90d9ffff com.apple.speech.synthesis.framework 3.2 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x90dad000 - 0x90dc7fff libresolv.9.dylib /usr/lib/libresolv.9.dylib
0x90dd0000 - 0x90df0fff com.apple.DirectoryService.Framework 1.7.2 /System/Library/Frameworks/DirectoryService.framework/Versions/A/DirectoryServi ce
0x90e77000 - 0x90e8ffff com.apple.WebServices 1.1.1 (1.1.0) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/WebServ icesCore.framework/Versions/A/WebServicesCore
0x90ec0000 - 0x90ec0fff com.apple.Cocoa 6.3 (???) /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x90ec2000 - 0x90fa9fff com.apple.AddressBook.framework 1.1.2 (321) /System/Library/Frameworks/AddressBook.framework/Versions/A/AddressBook
0x91093000 - 0x910cbfff com.apple.LaunchServices 10.3.5 (98.4) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LaunchServices.framework/Versions/A/LaunchServices
0x910e0000 - 0x91134fff com.apple.bom 1.2.8 (64.2) /System/Library/PrivateFrameworks/Bom.framework/Versions/A/Bom
0x91140000 - 0x911a9fff com.apple.htmlrendering 1.1.2 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering .framework/Versions/A/HTMLRendering
0x913a0000 - 0x9145ffff ColorSync /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ColorSync.framework/Versions/A/ColorSync
0x9155d000 - 0x915abfff com.apple.print.framework.Print 3.3 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framewo rk/Versions/A/Print
0x915e0000 - 0x91699fff com.apple.QD 3.4.74 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ QD.framework/Versions/A/QD
0x916e0000 - 0x91773fff com.apple.print.framework.PrintCore 3.3 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ PrintCore.framework/Versions/A/PrintCore
0x917b6000 - 0x917f2fff com.apple.LDAPFramework 1.3.3 (37.3.1) /System/Library/Frameworks/LDAP.framework/Versions/A/LDAP
0x9180b000 - 0x9181bfff com.apple.ImageCapture 2.1.5 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture. framework/Versions/A/ImageCapture
0x91b10000 - 0x91b2afff libPDFRIP.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libPDFRIP.A.dylib
0x91b50000 - 0x91b5ffff libPSRIP.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libPSRIP.A.dylib
0x91b80000 - 0x91b93fff libRIP.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
0x92056000 - 0x92063fff com.apple.CommonPanels 1.2.1 (1.0) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels. framework/Versions/A/CommonPanels
0x92170000 - 0x92358fff com.apple.security 2.5 (29780) /System/Library/Frameworks/Security.framework/Versions/A/Security
0x9247c000 - 0x924ebfff com.apple.framework.IOKit 1.3.6 (???) /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x9273f000 - 0x92759fff com.apple.openscripting 1.2.1 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting .framework/Versions/A/OpenScripting
0x9278f000 - 0x927b5fff com.apple.FindByContent 1.4 (1.2) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ FindByContent.framework/Versions/A/FindByContent
0x927d3000 - 0x927dbfff libbsm.dylib /usr/lib/libbsm.dylib
0x927f0000 - 0x92827fff com.apple.CFNetwork 1.2.6 (71.13) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwo rk.framework/Versions/A/CFNetwork
0x9283f000 - 0x92859fff libGL.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x92880000 - 0x92c05fff com.apple.HIToolbox 1.3.7 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox
0x92e06000 - 0x92e37fff com.apple.securityinterface 1.0 (39) /System/Library/Frameworks/SecurityInterface.framework/Versions/A/SecurityInter face
0x92e50000 - 0x9334ffff com.apple.AppKit 6.3.11 (743.43) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x93680000 - 0x93958fff com.apple.CoreGraphics 1.203.33 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/CoreGraphics
0x939d9000 - 0x93a11fff com.apple.AE 1.4 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ AE.framework/Versions/A/AE
0x93a50000 - 0x93a54fff libmathCommon.A.dylib /usr/lib/system/libmathCommon.A.dylib
0x93b2d000 - 0x93b44fff com.apple.LangAnalysis 1.5.4 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LangAnalysis.framework/Versions/A/LangAnalysis
0x93b50000 - 0x93baffff com.apple.SearchKit 1.0.2 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchK it.framework/Versions/A/SearchKit
0x93ca3000 - 0x93d3bfff com.apple.WebKit 312.9 /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit
0x94580000 - 0x94872fff com.apple.WebCore 315.15 /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.frame work/Versions/A/WebCore
0x949f3000 - 0x94d1dfff com.apple.QuickTime 7.4.1 (14) /System/Library/Frameworks/QuickTime.framework/QuickTime
0x94ea0000 - 0x954a6fff libBLAS.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libBLAS.dylib
0x95500000 - 0x957d0fff libLAPACK.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libLAPACK.dylib
0x958e0000 - 0x95900fff libvMisc.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvMisc.dylib
0x95a08000 - 0x95a94fff com.apple.ink.framework 101.1.4 (55.12) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework /Versions/A/Ink
0x95b50000 - 0x95c32fff libicucore.A.dylib /usr/lib/libicucore.A.dylib
0x95dd4000 - 0x95de8fff libcups.2.dylib /usr/lib/libcups.2.dylib
0x95e40000 - 0x95eadfff libvDSP.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvDSP.dylib
0x95ec2000 - 0x95ecdfff libCSync.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x95ed3000 - 0x95ee3fff libsasl2.2.0.1.dylib /usr/lib/libsasl2.2.0.1.dylib
0x95f30000 - 0x9601efff libiconv.2.dylib /usr/lib/libiconv.2.dylib
0x96074000 - 0x960e7fff com.apple.NavigationServices 3.3.3 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationSer vices.framework/Versions/A/NavigationServices
0x96191000 - 0x96191fff com.apple.Carbon 10.3 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x96195000 - 0x96196fff com.apple.securityfoundation 1.0 (6) /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoun dation
0x961b0000 - 0x96292fff com.apple.JavaScriptCore 312.3.3 /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/JavaScriptCor e.framework/Versions/A/JavaScriptCore
0x96980000 - 0x96a47fff libcrypto.0.9.7.dylib /usr/lib/libcrypto.0.9.7.dylib
0x96aa0000 - 0x96acefff libssl.0.9.7.dylib /usr/lib/libssl.0.9.7.dylib
0x96ae0000 - 0x96aecfff com.apple.help 1.0.1 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framewor k/Versions/A/Help
0x96af6000 - 0x96b05fff com.apple.DSObjCWrappers.Framework 1.0.1 (1.0) /System/Library/PrivateFrameworks/DSObjCWrappers.framework/Versions/A/DSObjCWra ppers
0x96b50000 - 0x96bdffff ATS /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/ATS
0x99000000 - 0x990b8fff com.apple.audio.toolbox.AudioToolbox 1.3.4 /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x99106000 - 0x99106fff com.apple.audio.units.AudioUnit 1.3.3 /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x99108000 - 0x9916ffff com.apple.audio.CoreAudio 2.1.3 /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x991af000 - 0x991ccfff com.apple.audio.SoundManager 3.9 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.f ramework/Versions/A/CarbonSound
0x991de000 - 0x991f4fff com.apple.QuartzCore 1.3 /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x99201000 - 0x99f01fff com.apple.QuickTimeComponents.component 7.4.1 (14) /System/Library/QuickTime/QuickTimeComponents.component/Contents/MacOS/QuickTim eComponents -
How to use Google Maps by Visual Composer?
Hi all,
I'm creating some simple applications by Visual Composer in which I wanna use a Google Maps in VC,
and i have now successfully got to the STREET, POSTL_CODE, CITY and COUNTRY came from the BAPI.
(i am trying to use the Bapi_Customer_Getdetail2.)
but,i didn't get how to connect Table View and Html View.
I have already checked the below links. but i fail to understand how to do it.
Re: Google Map and VC
Help on google maps
https://wiki.sdn.sap.com/wiki/display/VC/Using%2bGoogle%2bMaps
I have many unknowns, could you tell me how to use Google Maps by VC.
(* About Our VC viersion : SAP NetWeaver Visual Composer EHP1 SP2 for SAP NetWeaver 7.1)Some thread are say that create the URL fields. like the below messages.
The STREET, POSTL_CODE, CITY and COUNTRY come from your BAPI. The other variables url* are default values to create the URL that is requiered for walweb.
URL1 'http://walweb.nl/walweb/picsfromspace/maps.php?LanguageRadio=dutch&AddressInput='
URL2 '&ZipcodeInput='
URL3 '&StateInput=&CitycodeInput=&CityInput='
URL4 '&CountrySelect='
URL5 '&ZoomSelect=17&PoiInput=hidden&PoiButton=Interessante+Punten'
Where should I create those fields? at the Table Vies?
and also i dont get where should i set the below. is that setting at the [[Map Data]]-[[Assigned Value]]??
STORE@Url1 & @STREET & STORE@Url2 & @POSTL_CODE & STORE@Url3 & @CITY & STORE@Url4 & @COUNTRY & STORE@Url5
best regards,
Masahiro Minagawa -
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 -
Google Maps Widget doesn't work after upgrade to Safari 4.0
After a lengthy bit of trouble shooting with an iWeb specialist yesterday, we reached a conclusion that somehow installing the release version of Safari 4.0 (released Monday, 6/8) causes the GoogleMaps widget to not function or display properly. Using backup harddrives of recent systems, the widget worked properly in OS X 10.5.7 running iWeb 3.0.1 with both Safari 3.2 and the BETA VERSION of Safari 4. On that same system, once I download and installed the release of Safari 4., the maps widget would not work or display properly.
To describe what doesn't work: None of the options (search field, address bubble, or zoom controls) appear regardless of what the user selects in the HUD when creating or editing the content. I am unable to pan and/or scroll around the map within its bounding box at all. The only thing I am able to do is edit the address field in the HUD and end up with a map with that location centered in the window.
The AppleCare specialist didn't have much response in that I think this is a brand new and VERY obscure bug.
I am curious to know if anyone else has exprienced this condition.It may be obscure in iWeb but the Safari 4 update has messed up the Google maps in iPhoto big time. Be sure to report it as they are all related to the Safari 4 upgrade and probably only be solved by a Safari fix.
http://www.apple.com/feedback/iweb.html
OT -
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!! -
How to get digital signature for Google Map geocoding V3 in PL/SQL?
Hi, Gurus:
Could anyone provide me an example about how to generate digital signature for Google Maps service v3 in PL/SQL? We tried to upgrade our program using Google maps service from v2 to v3. We are using PL/SQl on background to send request to Google for geocoding. We found some sample code to register with digital signature, but none of them is based on PL/SQl. Notice I used Google business client ID "gme-XXX" and wallet.
https://developers.google.com/maps/documentation/business/webservices/auth#digital_signatures
Google Maps API - more URL signing samples
Here is my code for V2. I notice in order to get signature, I need to use HMAC-SHA1 algorithm.
procedure Get_Geocoding(P_s_Address in varchar2, P_s_Geocoding out varchar2, P_n_accuracy out number, P_b_success out boolean) is
l_address varchar2(4000);
l_url varchar2(32000);
l_response varchar2(3200);
n_first_comma number;
n_second_comma number;
n_level_length number;
BEGIN
/* TODO implementation required */
l_address:=APEX_UTIL.URL_ENCODE(P_s_Address);
l_address := replace(l_address,' ','+');
l_url := 'http://maps.google.com/maps/geo?q='||l_address||'&'||'output=csv'||'&'||'client=gme-XXX';
l_response := utl_http.request(l_url, APEX_APPLICATION.G_PROXY_SERVER, '/u02/app/oracle/admin/apexsb/wallet', 'XXXXXXXX');
n_level_length:=0;
n_first_comma:=instr(l_response,',',1,1);
n_second_comma:=instr(l_response,',',1,2);
n_level_length:=n_second_comma-n_first_comma-1;
P_n_accuracy:=0;
if n_level_length>0 then
P_n_accuracy:=to_number(substr(l_response,n_first_comma+1, n_level_length));
end if;
l_response:=substr(l_response,instr(l_response,',',1,2)+1);
--dbms_output.put_line('In function: l_response ='||l_response);
P_s_Geocoding:=l_response;
if (P_s_Geocoding<>'0,0') then
P_b_success:=true;
--dbms_output.put_line('true');
else
P_b_success:=false;
--dbms_output.put_line('false');
end if;
END;
Thanks!Hi, guys:
I tried to generate digital signature for Google map service
Maps for Business: Generating Valid Signatures - YouTube
Generating an HMAC-SHA-1 Signature Using Only PL/SQL
OAuth and the PL/SQL | Data Warehouse in the Cloud
but I got error message from Google:
Unable to authenticate the request. Provided 'signature' is not valid for the provided client ID. Learn more: https://developers.google.com/maps/documentation/business/webservices/auth
I think there is something wrong with my code to generate signature, as if I remove the part regarding client and signature, it will work, can anyone help me on this problem?
/*Procedure Get_Geocoding is used to get geocoding with accuracy level for V3 business account, you can find Google map digital signature descrirption from
https://developers.google.com/maps/documentation/business/webservices/auth#digital_signatures
if geocoding is 0,0, procedure returns false to indicate failure of get geocoding*/
procedure Get_Geocoding2(P_s_Address in varchar2, P_s_Geocoding out varchar2, P_n_accuracy out number, P_b_success out boolean) is
--private key for Google business account, this is provided by Google with client name.
l_private_key_src varchar2(200):='xxxxxxxxxxxxxxxxxxx';
l_private_key_b64_alter varchar2(200):= translate(l_private_key_src,'-_','+/');
l_private_key_bin raw(2000);
l_client_name varchar2(100):='gme-xxx';
l_signature_mac raw(2000);
l_signature_b64 varchar2(200);
l_signature_b64_alter_back varchar2(200);
l_Google_service_domain varchar2(200):='http://maps.googleapis.com';
l_address varchar2(4000);
l_url varchar2(32000);
l_path varchar2(32000);
l_response varchar2(32000);
l_page UTL_HTTP.HTML_PIECES;
n_actual_length number;
json_obj json;
json_tempobj json;
jl_listOfValues json_list;
json_geom_obj json;
json_loc json;
l_lat VARCHAR2(40);
l_lng VARCHAR2(40);
l_status VARCHAR2(255);
json_accuracy json;
--temp_string varchar2(10000);
n_first_comma number;
n_second_comma number;
n_level_length number;
BEGIN
/* TODO implementation required */
l_private_key_bin := utl_encode.base64_decode(UTL_I18N.string_to_raw(l_private_key_b64_alter, 'AL32UTF8'));
l_address:=APEX_UTIL.URL_ENCODE(P_s_Address);
--dbms_output.put_line(l_address);
l_address := replace(l_address,' ','+');
l_path := '/maps/api/geocode/json?address='||l_address||'&'||'sensor=true';
dbms_output.put_line(l_path);
l_signature_mac :=DBMS_CRYPTO.mac(UTL_I18N.string_to_raw(l_path, 'AL32UTF8'), DBMS_CRYPTO.hmac_sh1,l_private_key_bin);
l_signature_b64:= UTL_RAW.cast_to_varchar2(UTL_ENCODE.base64_encode(l_signature_mac));
l_signature_b64_alter_back:=translate(l_signature_b64,'+/','-_');
dbms_output.put_line(l_signature_b64_alter_back);
--get response from Google map service
l_url:=l_Google_service_domain||l_path||'&client='||l_client_name||'&signature='||l_signature_b64_alter_back;
--l_url:=l_Google_service_domain||l_path;
dbms_output.put_line(l_url);
l_page:=utl_http.request_pieces( l_url, 99999);
for i in 1..l_page.count loop
l_response:=l_response||l_page(i);
end loop;
n_actual_length:=length(l_response);
dbms_output.put_line(n_actual_length);
dbms_output.put_line(l_response);
--parse JSON result
json_obj:=new json(l_response);
l_status := json_ext.get_string(json_obj, 'status');
IF l_status = 'OK' then
jl_listOfValues := json_list(json_obj.get('results'));
json_tempobj := json(jl_listOfValues.get(1));
json_geom_obj := json(json_tempobj.get(3));
json_loc := json_ext.get_json(json_geom_obj, 'location');
l_lat := to_char(json_ext.get_number(json_loc, 'lat'));
l_lng := to_char(json_ext.get_number(json_loc, 'lng'));
P_s_Geocoding:=l_lat||','||l_lng;
dbms_output.put_line('##########'||P_s_Geocoding);
case json_ext.get_string(json_geom_obj, 'location_type')
when 'ROOFTOP' then P_n_accuracy:=9;
when 'RANGE_INTERPOLATED' then P_n_accuracy:=7;
when 'GEOMETRIC_CENTER' then P_n_accuracy:=5;
else P_n_accuracy:=3;
end case;
P_b_success:=true;
else
P_b_success:=false;
P_n_accuracy:=0;
P_s_Geocoding:='0,0';
end if;
END;
Maybe you are looking for
-
How to remove footer space in Table
I have created a table in main window. after creating main area section, the footer section is appearing as an empty at the bottom. I tried to remove this space by giving zero height to the footer height, but the value is not accepted by the system.
-
Is iMovie the software I need?
Instead of me spending hours reading through the specs of iMovie, iDVD, Quicktime and others, I thought I'd post here initially, to find out what program I should be looking at. Here is what I want to do: 1. Prepare a presentation of member's photos
-
Financial software for personal use?
I just bought my blackberry bold yesterday and I'm not sure which financial software to use. Has anyone used Ascendo or any of the other money management programs? Which ones do you prefer? I'm looking for something that's more for personal use than
-
Please suggest about the MM;functional module.
Hi All, Myself Megha, i am new in the SAP world and would like all you gurus to guide me with right path.I am an Engineer in IT with 2 years of work x in Network Aminstraton, As per my qualifications i am eligble for SAP technical module(Basis), but
-
Extended Edit box loses the typed value when form is resized
Extended Edit box loses the typed value when form is resized: Hi, I have added an extended edit box in a system form (SO form). When form is resized, I'm programmatically repositioning the edit box for proper alignment. When I do that, whatever has b