CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

use map with custom images

by FredT » 20 Feb 2019 14:34

Hi Assapan,

I also use MapTiler, I tried several methods:
- Raster Tiles
- Standart Tiles with Bounding Box options

But it generates me images without coordinates.
Which options did you use to get them ?

Because I get this:

dir.png


Thank
You do not have the required permissions to view the files attached to this post.
FredT
 
Posts: 28
Joined: 28 Jan 2019 15:10

by assapan » 20 Feb 2019 14:51

I don't have the license anymore so i don't remember how to do it ! :oops:
Want to visit Ardeche http://leclosdelarc.fr/index.php
The Pont d’Arc Cavern http://en.cavernedupontdarc.fr
Image
User avatar
assapan
 
Posts: 600
Joined: 16 Dec 2013 12:04
Location: France

by FredT » 21 Feb 2019 12:05

Hi,

I finally managed to display my image by modifying the end of your script like this:

var x = normalizedCoord.x;
var y = normalizedCoord.y;
img = 'http://MyServer/' + zoom + '/' + x + '/'+ y + '.png';

But I still have 2 problems:
- The first is that loading, before zooming, I see several times my image side by side, while I would like to see it once.
- The second is that I do not want to see the logo of google at the bottom left. Can we remove it ?

Thank
FredT
 
Posts: 28
Joined: 28 Jan 2019 15:10

by assapan » 21 Feb 2019 12:45

FredT wrote:But I still have 2 problems:
- The first is that loading, before zooming, I see several times my image side by side, while I would like to see it once.
- The second is that I do not want to see the logo of google at the bottom left. Can we remove it ?


1) i don't understand what this mean
2) i don't think so , but if you search in inspector the sentence "Open this area in Google Maps (opens a new window)'" you will find the reference to the logo
Want to visit Ardeche http://leclosdelarc.fr/index.php
The Pont d’Arc Cavern http://en.cavernedupontdarc.fr
Image
User avatar
assapan
 
Posts: 600
Joined: 16 Dec 2013 12:04
Location: France

by assapan » 21 Feb 2019 12:49

Want to visit Ardeche http://leclosdelarc.fr/index.php
The Pont d’Arc Cavern http://en.cavernedupontdarc.fr
Image
User avatar
assapan
 
Posts: 600
Joined: 16 Dec 2013 12:04
Location: France

by FredT » 21 Feb 2019 15:26

Hi Assapan,

Thank you for your help.

Unfortunately, as it is strictly forbidden to hide the google logo, I can not use this component.

Is it possible to do the same thing with another component like the TIWCGJQMapQuery?

Thank.
FredT
 
Posts: 28
Joined: 28 Jan 2019 15:10

by assapan » 21 Feb 2019 15:53

FredT wrote:Unfortunately, as it is strictly forbidden to hide the google logo, I can not use this component.
Is it possible to do the same thing with another component like the TIWCGJQMapQuery?


Google logo is so critical :o
I don't know the other map components sorry
Want to visit Ardeche http://leclosdelarc.fr/index.php
The Pont d’Arc Cavern http://en.cavernedupontdarc.fr
Image
User avatar
assapan
 
Posts: 600
Joined: 16 Dec 2013 12:04
Location: France

by assapan » 21 Feb 2019 16:17

I have just looked in MapQuery , what i see is that you can edit OpenLayer.Js and replace in OpenLayers.min.js the current url http://c.tile.openstreetmap.org/${z}/${x}/${y}.png to your one
Want to visit Ardeche http://leclosdelarc.fr/index.php
The Pont d’Arc Cavern http://en.cavernedupontdarc.fr
Image
User avatar
assapan
 
Posts: 600
Joined: 16 Dec 2013 12:04
Location: France

by FredT » 21 Feb 2019 16:41

Hi,

The software we are developing does not display maps but images of cellular tissue.
So we can not have a google logo that when clicked on it sends us to the GoogleMap site.

Thank
FredT
 
Posts: 28
Joined: 28 Jan 2019 15:10

by FredT » 22 Feb 2019 16:15

Hi,

I made several tests after putting my url in OpenLayers.min.js.
-with:
Layer:= IWCGJQMapQuery.MapQueryOptions.Layers.Add;
Layer.LayerType: = mqltOSM;

-and with:
Layer:= IWCGJQMapQuery.MapQueryOptions.Layers.Add;
Layer.LayerType: = mqltWMS;
Layer.LayerOptionsWMS.Url: = 'http://myServer/myDirectory/';

But without success for the moment...

Thank.
FredT
 
Posts: 28
Joined: 28 Jan 2019 15:10

PreviousNext

Return to JQGMap

Who is online

Users browsing this forum: No registered users and 2 guests

Contact Us.