Member Avatar

I want to create circle around marker but im having some troubles i have this code Circle circle = mMap.addCircle(new CircleOptions() .center(new LatLng(-33.87365, 151.20689)) .radius(10000) .strokeColor(Color.RED) .fillColor(Color.BLUE)); this code is drawing circle around Sydney but i want to create where i place the marker here is the code together with the marker creation: mMap.setOnMapClickListener(new GoogleMap.OnMapClickListener() { @Override public void onMapClick(LatLng latLng) { // Creating a marker MarkerOptions markerOptions = new MarkerOptions(); // Setting the position for the marker markerOptions.position(latLng); // Setting the title for the marker. // This will be displayed on taping the marker markerOptions.title(latLng.latitude + " : " …

0
4
Member Avatar

I would like to change the icon of a marker while hovering on a HTML element. My markers are generated in a PHP array, which looks like this: $map_flats[] = array( 'title' => $price, 'image' => $file_name, 'type' => '', 'price' => $address, 'address' => $address, 'bedrooms' => $bedrooms, 'bathrooms' => $maxguests, 'area' => $area, 'position' => [ 'lat' => $lat, 'lng' => $lng ], 'markerIcon' => 'marker-green.png' ); I would like to change the 'marker-green.png' to 'marker-blue.png' while hovering a DIV. Could you tell me a possible way of doing that? Thanks in advance, Tibor

Member Avatar
0
19
Member Avatar

I run a script where users can select locations from dynamic select menu. When a user selects his location, a google map should load on the page. I have 2 problems on this issue. Pls help me fix them: 1) Map is loading, but it can't mark the place. I need a marker, tried some codes posted on this forum, but they don't work. 2) Map should be loaded based on selected location. But my code can only fetch default map. Here's the entire code: -------- <!DOCTYPE html> <html> <head> <meta name="viewport" content="initial-scale=1.0, user-scalable=no"> <meta charset="utf-8"> <title>Google Maps JavaScript API …

Member Avatar
0
28
Member Avatar

All I am trying to do is place the marker number in the map. I was able to do this with V2 of Google Map API, but now I have not a clue how to do it in V3. I've exhausted Googling this issue, and now come to my favorite forum. Does anyone know how to place numbered label markers using Google Map v3? Thanks, Michael

Member Avatar
0
2
Member Avatar

Hi there. I'm writing a simple system to order certain data. Now this is the deal: I have a bunch of files with the following filename structures (stored as strings): 0000[i]_FILENAME.EXT i represents a random number. Now I want to scan whether the file has that structure, and if it has that structure, it should rename it to FILENAME.EXT. So basically, I want to program to check whether a certain structure is present in the filename, and if so, it should rename the string. Any ideas how on how to solve this problem? Thanks in advance! Eddy Wally

Member Avatar
0
4
Member Avatar

how to add circle marker on google map by giving latitude,longitude and radius in KM?

Member Avatar
0
3

The End.