with fusiontables I want to show our delivery area's in google maps. But some country codes are not showing correct. How can I change this? - google-fusion-tables

I tried to change the columns already, but that hasn't worked. I changed the GB to UK, but that doesnt work.
A sample of a country which is showing in the US, but is actually a GB delivery.
To City: Neewport NP204HH GB
To PostalCode: Neewport
To Country: NP204HH
Total ChargeBGB: GB

I wonder how you got the incorrect result, when I use Neewport NP204HH GB as value for a location-column I get a place in the UK(near Cardiff)
But when your geocoding-result isn't correct you may edit it.
Click on the row to edit the values(a window opens), under the location-column you should see a link "edit geocode"(another window opens)
type e.g. "Neewport" in the searchfield and search
some markers should appear, find the marker at the desired location, and click on the marker->choose "use this location"
click on "save"

Related

Why does the '.ics/vcs' file cannot open with office365, if TZID parameter present

In my application I am sending mail to various users.The mail is attached with an .ics file. But when the user tries to open the file in Office365 an error pop ups which says
'The .ICS attachment can't be viewed because the format is not supported'.
Please see below the .ics file I have used
BEGIN:VEVENT
DTSTAMP:20170322T064351Z
DTSTART;TZID=America/Denver:20170323T110000
DTEND;TZID=America/Denver:20170323T113000
SUMMARY:WAND: Test Summary
TZID:America/Denver
LOCATION:
UID:20170322T064351Z-1#fe80:0:0:0:0:100:7f:fffe%12
DESCRIPTION:Candidate Name: Test User\nContact Phone Number: 1256355
END:VEVENT
END:VCALENDAR
The issue occurs when I have added the Timezone parameter recently.But this will work if I remove the Timezone parameter.
That is, if I replace
DTSTART;TZID=America/Denver:20170323T110000
DTEND;TZID=America/Denver:20170323T113000
with the below one
DTSTART:20170323T110000
DTEND:20170323T113000
the issue does not occur. But I need to add timezone.
Any additional elements need to add for the timezone parameter?
Please suggest.
The ics stream shown in your example seems to be truncated (missing at least the BEGIN:VCALENDAR) but assuming it is there in your actual ics, you are also supposed to include a VTIMEZONE component (before the BEGIN:VEVENT) that corresponds to the TZID=America/Denver used in your DTSTART/DTEND.
See for example the second example at https://www.rfc-editor.org/rfc/rfc5545#section-4

Lucene/Solr unexpected query answer

I'm using Solr 4.4.0 running on Tomcat 7.0.29.
The solrconfig.xlm is as-delivered (excepted for the Solr home directory of course).
I could pass on the schema.xml, though I doubt this would help much, as the following will show.
If I select all documents containing "russia" in the text, which is the default field, ie if I execute the query "russia", I find only 1 document, which is correct.
If I select all documents containing "web" in the text ("web"), the result is 29, which is also correct.
If I search for all documents that do not contain "russia" ("NOT(russia)"), the result is still correct (202).
If I search for all documents that contain "web" and do not contain "russia" ("web AND NOT(russia)"), the result is, once again, correct (28, because the document containing "russia" also contains "web").
But if I search for all documents that contain "web" or do not contain "russia" ("web OR NOT(russia)"), the result is still 28, though I should get 203 matches (the whole set).
Has anyone got an explanation ??
For information, the AND and OR work correctly if I don't use a NOT somewhere in the query, i.e. :
"web AND russia" --> OK
"web OR russia" --> OK
I got a solution from Yonik Seeley, which is to translate the NOT(russia) into (*:* -russia), so that a positive value (: i.e. all documents) can be used to substract from (-russia). This solution works very well. I still believe that it would be a good idea to modify the parser so that the strainghtforward request "web OR NOT(russia)" would work without translation.

Windows phone: How do I globalize/localize application title text in App list and tile

I use resource string for text appear in xaml pages by using these
{Binding Path=LocalizedResources.AppName, Source={StaticResource LocalizedStrings}}
But where and how do I globalize application title in App list and Tile? Is it in WMAppManefist.xml? I tried the above syntax in App Title and token Title but don't seem to work.
Having followed an article provided by Alaa Masound be sure to use:
#AppResLib.dll,-101
instead of:
#AppResLib.dll,-200
as your tile title, as defined in Microsoft resource dll template (AppResLib.rc):
#define AppTitle 100
#define AppTileTitle 101
So the reason for the problem is a discrepancy between Microsoft source code and its description.

Get printer trays from DevMode

In my application I pop a print dialog box that (among other things) enables a user to select the print tray for the front page and a print tray for other pages. I then get the DevMode from the printer object:
LPDEVMODE pDevMode = (LPDEVMODE)::GlobalLock(pPrinter->hDevMode);
When I look at the DevMode structure I can get the default source:
m_pDevMode->dmDefaultSource
which is the 'Other Pages' selection, but I can't get the tray number of the first page selection. Any ideas how I can obtain both tray numbers?
I discovered it's not possible because the settings are driver-specific.

is available onClicklistener for Blackberry Map Location

I am displaying multiple locations in blackberry using following code
String document="<location-document><location lon='-8030000' lat='4326000' label='Kitchener, ON' description='Kitchener, Ontario, Canada' /><location lon='-7569792' lat='4542349' label='Ottawa, ON' description='Ottawa, Ontario, Canada' /></location-document>";
MapsArguments map=new MapsArguments(
MapsArguments.ARG_LOCATION_DOCUMENT,document);
Invoke.invokeApplication(Invoke.APP_TYPE_MAPS,
map);
It works fine.But i have to switch to another screen which displays location address when the user clicks particular location.Is it possible by using above code.If it is not possible how can do that.Please help me.
Thank you
I don't think you are going to be able to capture anything with that method. The problem is that when you call Invoke.invokeApplication you are actually telling the BB to launch and pass control to the BB Maps application. At this point, as far as I am aware, your app goes into the background and can not get any info from the BB Maps application. If you want to have control over the map, you should look into the MapField and/or RichMapField.

Resources