I'm having problems displaying my KML in Gmap V3; It works fine in my V2 code, but haven't been able to display it in V3.
I tested it on the google maps page, but all I see are the folder names; the folders won't open and the sites do not appear.
I can also open the KML in GE, but the sites don't appear on the map, only in the sidebar, and the links in the info windows aren't working.
I can view a smaller prototype of my kml using some test code I found , but I can't view my full version kml with this same test code.
And haven't been able to get either KML to display in any of my own v3 code yet.
The full KML contains 4 folders and hundreds of sites, but even the smaller prototype, which contains less than 100 points will not display in my own V3 code, yet as stated earlier, it works fine in my v2 map (which is really still a prototype), view-able here
(I didn't want to go much further with this v2, only to have to migrate to v3 in a matter of months.)
What I'd like to implement is something like the this example.
(Should this exmaple be able to display any KML that is publicly available by changing the filename in the URL?)
It's the closest thing I've seen so far to what I'd like to have:
I need a sidebar to display a lot of points, which a user can turn on and off.
I also need folders.
Finally, I want a full global view - and as such, cannot use GE.
Please can you offer any advise?
geoxml3 is subject to the same domain xmlhttp security policy. It can only display kml files from other domains by using a proxy.
It looks like you are using the GeoXml third party parser. There is a v3 version of that at:
http://code.google.com/p/geoxml-v3/
Your second file is not technically valid:
<Placemark>
<name>Dillon</name>
<description><![CDATA[Click on the site name to proceed to the ftp
directory for the Dillon CRN site.]]></description>
<styleUrl>#CRN</styleUrl>
<Point>
<coordinates>-113.0057,45.158,0</coordinates>
</Point>
<altitudeMode>relativeToGround</altitudeMode>
</Placemark>
from the 4T file has <Point>...</Point>, which is different from the 6T file which has <point>...</point>:
<Placemark>
<name>Dillon</name>
<description><![CDATA[Click on the site name link below to proceed to the subset ftp directory for the Dillon CRN site.]]> </description>
<styleUrl>#CRN</styleUrl>
<point><coordinates>-113.0057,45.158,0</coordinates></point>
</Placemark>
Related
Using MSVS C#, I'm creating a KML file. For the sake of simplicity, assume that it has 2 Point placemarks with name tags A and B, respectively. The third placemark is a LineString using the coordinates from the points, with a name tag "A > B". I want the description of this placemark to say "Distance: xxx km", where xxx is the distance between A and B.
Is there a KML or Google Earth tag that I can write to the KML file that will output the distance when the file is loaded into Google Earth and I click on the line? Better yet, can I keep track of these as the app generates the KML file or in the KML file itself so that the document can have a description that has the total distance of all LineStrings?
Thanks.
After posting this, I came across a Vicenty formula written in Java that does what I want. It was a simple matter to port it to C#.
It can be found at https://www.neovasolutions.com/2019/10/04/haversine-vs-vincenty-which-is-the-best/
It's a shame a forum designed to help developers would have someone downgrade a question without even bothering to post a response that might be of use, even if it's a link to where such a question was answered. If this was an admin who did this, kindly delete my account—I certainly don't need the bigotry and scrutiny. In the future, I'll try to find my answers elwewhere.
I've been working with the Azure maps indoor module https://learn.microsoft.com/en-us/azure/azure-maps/tutorial-creator-indoor-maps . In one of the tutorial videos (time stamped video of talking about icons https://youtu.be/mIDk1FSc8f4?t=2270) and in the screenshots the rooms (e.g. https://learn.microsoft.com/en-us/azure/azure-maps/how-to-use-indoor-module the screenshot at the bottom of this page doesn't match the linked live demo) have icons associated with them, however I cannot find documentation or examples of this feature.
Currently I am using GPS coordinates of rooms to set the icons using normal azure maps functionality upon initialization as a workaround, but it would be nice if I could set an icon in the manifest.json for the indoor module for the cad drawing or use a custom set of icons like was mentioned in the example video.
Thanks for the help!
E: This JSON link I found seems like it may be related to the room categories
The style and icons used in rendering is based on the category value of units, zones, etc. The discrepancy could be driven by different category values set in the manifest.json file when uploading the drawing package. We are working to make styling experiences easier and more flexible for developers.
I look for a tutorial, help or an example that tells me what I have to do to write a grid element like 2-colums in basic typo3 (v9) with fluid but no other extension like gridelements, DCE, Templa Voila, etc. I want the same gridelements can do but I dont want to be depended to this extention and move it in my own site extention.
I tried the same with normal content elements (CE) like here:
https://docs.typo3.org/c/typo3/cms-fluid-styled-content/9.5/en-us/AddingYourOwnContentElements/Index.html
But how can I nest a CE in a CE? And how can I do this by drag&drop in the backend?
You can't. The page module doesn't support nesting
You can't nest CEs in a CE. On database level this would mean that you have to make a tt_content record a subrecord of a parent tt_content record. You run into several problems, basically the multilanguage support will be broken and the shortcut element does not function as you will expect it to. That is why the extensions "gridelements" and "mask" exist.
I integrated the gridelements configuration into my sitepackage. So I do not need to bother anymore with it.
Just for your info:
There is now an initiative that works on integrating this functionality into the core (Structured Content Initiative, https://typo3.org/article/a-structured-content-initiative/). Stay tuned to it.
There is nothing special about providing Gridelements via external files, since it's based on TSconfig, TypoScript and Fluid. That's why there is not that much about it in the documentation, since it's the same thing you would do with any other kind of sitepackage. The TSconfig and TypoScript parameters are already explained there, while the Fluid would be up to you anyway.
To have a kind of kickstarter just take any extensions providing Gridelements layouts as an example. A very popular one would be bootstrap_grids, which can be found in the TER or here: https://github.com/laxap/bootstrap_grids
You don't necessarily need the flexform controller of that extension, but the Configuration and Resources folders, show you how to configure stuff and you can see how that is included via ext_localconf.php
There are even comments i.e. in the TSconfig files to explain what is possible there and how to handle i.e. mixed environments with record and file based setups. Although it would be recommended to go for files.
You would at least have to add the necessary backend rendering methods to a draw item hook, that will modify the preview of the container element.
So basically you would have to rewrite everything that DCE, Flux, Gridelements or other similar extensions already do.
Which brings us to the question, why you want to avoid those extensions, since especially those three are well known, widely spread, well supported and available for currently supported TYPO3 versions.
we are currently building an application on the google cloud platform, which generates reports in Google Doc. For them, it is really important to have a table of content ... with page numbers. I know this is a feature request since a few years and there are add-ons (Paragraph Styles +, which didn't work for us) that provide this solution, butt we are considering to build this ourselves. if anybody has a suggestion on how we could start with this, it would be a great help!
thanks,
Best bet is to file a feature request on the product forums.
Currently the only way to do that level of manipulation of a doc to provide a custom TOC is to use Apps Script. It provides access to the document structure sufficient enough to build and insert a basic table of contents, but I'm not sure there's enough to do paging correctly (unless you force a page break on ever page...) There's no method to answer the question of "what page is this element on?"
Hacks like writing to a DOCX and converting don't work because TOCs are recognized for what they and show up without page numbers.
Of course you could write a DOCX or PDF with the TOC as you'd like and upload as a blob rather than as a Google Doc. They can still be viewed in Drive and such.
I am trying to extract my KML file from Google's Fusion Tables into Google Earth. I follow what I think are the necessary steps via KML Network Link instructions. I must be missing something because no matter what I do the data will not show in Google Earth. I have the Fusion file shared as Unlisted, but am I supposed create a public URL as well in order for the points to show in google earth?
Sorry for the basic/beginner question. It's SO basic I can't find a question already addressing the issue.
Thanks in advance.
I can think of two things to check.
1) Your Fusion Table must be "exportable". Edit->Modify Table Info. Make sure the exportable checkbox is selected.
2) Did you rely on geo-coding addresses when creating your table? The lat/long values of geo-coded addresses in Fusion Tables will not be exported in the KML, and addresses might not display in Google Earth.
Eric