markers

Eclipse PDE: Custom QuickFix only available in Problems View?

风格不统一 提交于 2019-12-22 09:47:58
问题 i am having trouble with custom quick-fixes, which i want to provide in my Eclipse plug-in, and i'm hoping for someone more experienced than me in Eclipse PDE to have some hints for me on this issue. As i have understood, i can provide custom so-called "quick fixes" (or "resolutions", in Eclipse inside terminology), by extending the extension point org.eclipse.ui.ide.markerResolution for a specific marker id, such as for example some default Eclipse marker, org.eclipse.core.resources

Multiple data blocks in a single file and a single plot + Markers for each block

♀尐吖头ヾ 提交于 2019-12-22 00:29:56
问题 I have a data file that looks like this : "curve 0" 0 0.7800 10 0.333 12 0.5136 24 0.2096 26 -0.066 40 -0.674 42 -1.123 "curve 1" 0 0.876 2 0.73 4 0.693 6 0.672 10 0.70 12 0.88 16 0.95 148 -0.75 "curve 2" 8 2.2305 10 2.144 12 2.13 76 1.26 78 0.39 98 -0.97 I would like to plot each block of data independently of the others using gnuplot. Here's the code I'm using for this purpose : plot 'file' i 0 u 1:2 w lines title columnheader(1),\ 'file' i 1 u 1:2 w lines title columnheader(1),\ 'file' i 2

Showing sets of markers on different layers of Google map

你。 提交于 2019-12-21 20:48:26
问题 I need to show a set of markers on a Google map. I know markers can be added directly on a Google map but given that I have 3 sets of markers, one for shops, one for parks and another one for hotels, how can I show them on 3 different layers and so that later on using javascript, I be able to hide one set of markers by doing sort of: myLayer2.setMap(null); I have checked Panoramio layer but it needs the images first to be uploaded to panoramio, but in my case for some particular security

Limit the dynamic markers to one

陌路散爱 提交于 2019-12-21 06:18:26
问题 In the below plunker, i can add so many markers by selecting marker tool. But i need to limit it to only one. after adding one marker it should disable or the user should not be able to put another marker on map. i have used ngMap https://ngmap.github.io/ . can anyone please help me <ng-map zoom="13" center="37.774546, -122.433523" map-type-id="ROADMAP" street-view-control-options="{position: 'LEFT_CENTER'}"> <drawing-manager on-overlaycomplete="vm.onMapOverlayCompleted()" drawing-control

How to group custom markers in a custom view?

倾然丶 夕夏残阳落幕 提交于 2019-12-21 06:07:28
问题 I am creating an eclipse plug-in that verifies XML and XSL code by applying some specific rules, and which generates some custom error markers (ex: Error, Warning, Info ) in a custom view (called PCC Markers ). I create my markers like this : marker = resource.createMarker("pccplug.myMarker"); marker.setAttribute(IMarker.MESSAGE, message); marker.setAttribute(IMarker.LINE_NUMBER, line); marker.setAttribute(IMarker.SEVERITY, IMarker.SEVERITY_ERROR); Here is my plugin.xml : <extension point=

Google maps GeoJSON- toggle marker layers?

余生长醉 提交于 2019-12-20 10:48:25
问题 I have some GeoJSON returned from a call to a PostGIS database. I'd like to be able to add a marker for each feature, and be able to toggle different types of marker/feature. Currently I'm using JavaScript to generate a marker for each feature, adding them to arrays according to type, and then going through the arrays setting show/hide as appropriate to toggle the 'layers'. This works OK, but I'm wondering if the new GeoJSON functionality offers a better way to do this. As far as I can see

Track numbered markers in a video

本小妞迷上赌 提交于 2019-12-20 04:53:18
问题 I have a video which has frames as shown in my previous image in this question. How do we detect points from a picture with a particular color on those points I detected these markers and numbered them as shown in the image given below: My problem is as follows. After I have detected markers in one frame I need to detect them in another frame and find out how much the marker has moved from its previous location. However on using my code again on the second frame I sometimes in some frames get

How to hide/show groups of markers by category with Google Maps in Android?

天大地大妈咪最大 提交于 2019-12-19 07:32:09
问题 I'm looking to do something like what is done right here in Android. What I need to do is group markers into different groups and have checkboxes to each group. When I tick and untick on the check boxes markers should be show and hide. Here is my MapsActivity.java file. public class MapsActivity extends FragmentActivity { //Restaurants private final LatLng LOCATION_DINEMORE = new LatLng(6.9270786,79.861243); private final LatLng LOCATION_BARISTA = new LatLng(6.0334009,80.218384); //Hotels

Problem with large number of markers on the map

坚强是说给别人听的谎言 提交于 2019-12-18 10:36:57
问题 I am working on an Android app that already exists on iPhone. In the app, there is a Map activity that has (I counted) around 800 markers in four groups marked by drawable in four different colors. Each group can be turned on or off. Information about markers I have inside List. I create a mapOverlay for each group, then I attach that overlay to the map. I strongly believe that coding part I did properly. But I will attach my code anyway... The thing is, my Nexus One can't handle map with all

Placing a marker within the image

余生颓废 提交于 2019-12-18 05:25:12
问题 i have written a code which displays an image in a tabbed pane. My code lookes like this class tracker extends JPanel { String imageFile = "areal view.JPG"; public tracker() { super(); } public tracker(String image) { super(); this.imageFile = image; } public tracker(LayoutManager layout) { super(layout); } public void paintComponent(Graphics g) { /*create image icon to get image*/ ImageIcon imageicon = new ImageIcon(getClass().getResource(imageFile)); Image image = imageicon.getImage(); /