Trigger a event on Zoom change SAPUI5 - sapui5

I want an event to be triggered when zoom of the map changes. I am using
sapui5 google maps. In my view.xml i bound the map as following
<gmaps:Map id="map1" class="googleMap" height="600px" width="100%" zoom="4" lat="100" lng=100" markers="{/co}" ready="onMapReady" zoomControl = 'true'
zoom_changed = "renderNewMap">
But it doesn't trigger the event.

I'm afraid John Patterson's Google Maps control doesn't have a zoom event. According to Map.js on Github, only a click and ready event are present.
However, this control is open source though, meaning that you have the possibility to add whatever you think is missing in a subclass, or even your own version of this control.
If you make any useful modifications that could be useful for other people as well, it would also show good etiquette, if you could submit your changes in a pull request. In the open source community this is considered saying "thank you". When you make a pull request, John could then easily include your contributions in future releases of the Google Maps control.

Related

Document events for Adobe XD plugins

I've built a Photoshop extension before. That API lets me listen for document events, so my extension can perform work in response to what the user is doing in the document.
I'm seeing some mention of HTML events (like event handling for buttons). With this, my plugin can handle events within the context of the plugin's modal UI.
But what I'm wondering is if there is a way for my plugin to react to user-initiated events in the document. Say, for example, if the user changes a font in a text object, I'd like my plugin to be notified of the change. Is this possible?
Not at this time. Currently plugins can only run when the user invokes it from the Plugins menu.
It is on the extensibility road map for the future, though.

Trigger a plugin step on "entityimage" change

I created a plugin that should upload the contact entity "entityimage" to an external storage.
The code itself should works (it works as a console app), but I am unable to add a step that trigger on "entityimage" change as I can't find it in the filtering attribute list in the Plugin Registration Tool.
Is there a way to trigger this plugin only when "entityimage" change?
Regards,
Dremor
Reviewing the Contact's entityimage field in the Metadata Browser indicates that it is a "Virtual" field, which may be why it is unavailable as a filtering attribute.
Also, according to the SDK there does not appear to be any other message available besides "Update" on the Contact that could be used to indicate that the entityimage has changed.
And, changing the image through the UI does create an Audit History entry, however, it is a generic "Update" entry, with the old value and new value blank.
It appears that triggering a plugin on change of only the entityimage field is not possible, nor do there appear to be any OOB hooks to see if that field has changed.
The only other think I can think to research is Change Tracking. Otherwise it looks like you may have to upload the image on any Update of a Contact.
Or, you could sync the image URL's from CRM to an external system and compare the one in CRM to the external system before uploading.
Strangely enough, if you don't set any filtering attributes the plugin does get triggerd when changing the image, but i guess this also means that all field changes will trigger it.

Facebook Custom Story Map Attachment

I can't for the life of me get my custom story display in the Map layout. I have done this before but that solution is no longer working either so I'm starting to think something has changed.
Current Setup
I have a custom object type Track with a self-hosted object here (please see the source code for object structure). This object has a required field called route which contains multiple GeoPoints. I will put the GeoPoints in another file at some point but that causes other problems at the moment.
I have a custom action called Ski that obviously has the field Track which references the object.
In my custom story which is Ski a Track, I have edited the attachment to be a map layout and set the Route to be track.route.
Now when I create an action which references my self-hosted object using the Graph API Explorer I get an ID back which means its been created. I can also see the story on my timeline.
The Issue
The story is always in the standard layout.
My Question
Is it possible to still use the map attachment. If so what am I doing wrong?
UPDATE
For those interested I have submitted a bug report here. For anyone also experiencing issues of this nature then please subscribe to it as Facebook may deem it important enough to sort out.

Libre Office Writer: Strike-out on delete rather than remove?

We occasionally see revision-suggestions for documents (usually from our attorneys) where removed content gets color coded and has a strike through it. Added content also gets its own color coding.
I had always presumed that some specialty software was used to achieve such versioning effects, but one of our salespeople just received a document from their customer and it seems to be in that "mode".
When he tries to delete anything, it simply turns lime green and gets stricken out.
Is this a feature that can get turned on/off in Libre or Open Office?
If so, where/how?
Main Menu - Edit - Changes submenu
This feature is called Track Changes and it allows you to pass documents back and forth and see who made changes. The feature is accessible under the Edit -> Changes menu. Within this menu are 6 items:
Record
Protect Records...
Show
Accept or Reject...
Comment...
Merge Documents...
I should mention I'm using LibreOffice Version 3.6.4.3 (Build ID: 2ef5aff), but this menu should be identical in previous versions as well as OpenOffice.
You can see other peoples changes by checking/unchecking the Show item. If you want to disable/enable the recording of changes you check/uncheck Record. Finally if you want to incorporate other peoples changes you check/uncheck Accept or Reject....
Here are some additional resources to get you started if you want to actually do more than just disable this feature.
Collaborate Using LibreOffice Writer Changes and Comments
Recording and Displaying Changes
Screencast demoing Track Changes
Taming Apache OpenOffice - Tracking changes
LibreOffice 5.4.1.2.0
Edit -> Track Changes -> Record (uncheck Record)

How to ensure a place is part of the Google Places autocompletion

We got a customer looking after an event called Floriade placed in the city of venlo in the Netherlands. This point of interest is sometimes shown on the autocompletion under Floriade 2012. I say sometimes shown as we used to see it, then it disappeared, now it is back again.
1-How can I be sure that the autocompletion (through Google Places API) is showing this point of interest ?
2- What is enabling a point to be in this autocompletion or not ?
If a place has a Google Places page, e.g http://maps.google.com.au/maps/place?cid=14788366310032789085 it is guaranteed to be returned by a Places Autocomplete API.
You may have experienced a bug in the API. If it occurs again please report it on the issue tracker: http://code.google.com/p/gmaps-api-issues/issues/entry?template=Places%20API%20-%20Bug
Another way to guarantee that your application will show a place is to perform a 'Place Report Request' using the Google Places API with your API Key. This will instantly add a place and make it available to your API Key, then if the place is approved by Google if will be available to anyone.
Cheers
Chris